ShowExtensions Property

Applies To
Vision Objects: Line, LineFinder, ArcFinder, Frame

Description
For Line objects, this property displays a line from a starting reference (defined by the StartPointObject property) to an ending reference (defined by the EndPointObject property). For LineFinder and ArcFinder objects, only found segments are displayed. The ShowExtensions property causes the graphics display of the line to be extended out (by using a dotted line to indicate the extensions) so you can see the complete projection of the line or arc.

Usage

VGet  Sequence.Object.ShowExtensions, var
VSet  Sequence.Object.ShowExtensions, value
Sequence
Name of a sequence or string variable containing a sequence name.
Object
Name of an object or string variable containing an object name. The object must exist in the specified sequence.
var
Boolean variable that will contain the value of the property
value
Boolean value or expression for the new value of the property.

Values

  • 0 - False: Do not show line extensions
  • -1 - True: Show line extensions

Default: False

Remarks
When a Line object is created, the default graphic display of the Line object is simply a line with a starting and ending point. The StartPointObject and EndPointObject Properties can be used to modify the direction and length of the line but in some cases you may want to see where the line extends to. This is the purpose of the ShowExtensions property.

Extensions are useful when you need to see more than just a line between 2 points. For example, assume you create a Line object perpendicular to another line and the point at which the 2 lines meet is not actually on the physical line but at some location extended from the line. You can see this point of intersection by running your application with the ShowExtensions property set to "True".

See Also
ArcFinder Object, EndPointObject Property, Line Object, LineFinder Object, StartPointObject Property, Frame Object