Workbench User Guide : 6. Creating and Using Basic Fields : Shape Fields : Create a Line Segment
 
Share this page                  
Create a Line Segment
A line segment is a shape field that appears as a single line that you draw between two points on a form.
To create a line segment
1. Open your frame in the Frame Editor (see Open an Existing Frame).
2. Select the SegmentShape icon on the field palette.
3. Choose the starting point on the form, and click and hold the primary mouse button.
4. Drag the line from the starting point to the ending point.
Note:  To ensure that the line is either truly vertical or truly horizontal, hold down the Shift key while you draw the line.
5. Release the mouse button.
6. Set the properties and style for the line segment.
Note:  For more information about the various properties, see Line Segment Properties and Common Field Properties.
Segment Shape Properties
All the properties for segment shapes are described under Common Field Properties, with the exception of the following properties or values that are specific to the segment shape type:
Point1X
Specifies the starting x-coordinate of the segment relative to the left edge of the parent field or form.
Point1Y
Specifies the starting y-coordinate of the segment relative to the top of the parent field or form.
Point2X
Specifies the second x-coordinate of the segment relative to the left edge of the parent field or form.
Point2Y
Specifies the second y-coordinate of the segment relative to the top of the parent field.