Language Reference Guide : 4. System Classes : SegmentShape Class
 
Share this page                  
SegmentShape Class
The SegmentShape class represents a line segment that you can place on the shape layer of a form or composite field. Like all fields on a shape layer, the SegmentShape object is displayed behind any fields on the field layer.
Because a SegmentShape object has no bounding box, setting of any background-related attributes—BgBitmap, BgColor, BgDisplayPolicy, BgPattern, inherited from the FormField class—has no effect.
Usually, you do not need to associate a variable with a SegmentShape. However, if you want to change the line's attributes at runtime using the field function, you can associate a variable with the SegmentShape object. However, its data has no specific meaning.
For an example of creating a segment shape dynamically, see the Programming Guide.
Inherits From
Object Class
FieldObject Class
FormField Class
ShapeField Class
Inherited By
None
Attributes
Point1X
Point1Y
Point2X
Point2Y
Methods
SetEndPoints