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, you cannot set the BgPattern attribute (inherited from the ActiveField class) for this class.
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 (see Object Class)
FieldObject Class (see FieldObject Class)
FormField Class (see FormField Class)
ShapeField Class (see ShapeField Class)
Inherited By
None
Attributes
Point1X
Point1Y
Point2X
Point2Y
Methods
SetEndPoints