Arbortext IsoDraw > Macro Language Reference > Object Data Types > Element Object > element.line
  
element.line
This property gives access to all line attributes but it can not be used directly. It is assumed that myElem has already been defined as an element for the following samples
element.line.startPoint
Returns and sets the start point of the line as point.
myElem.line.startPoint.x = 107.55
myElem.line.startPoint.y = 157.39
element.line.segments[ ].selected
Returns the selected state of one line segment as integer. This property is read only. 0 means “not selected” and 1 means “selected”.
MESSAGE myElem.line.segments[1].selected
element.line.segments[ ].endPoint
Returns and sets the end point of one line segment as point.
myElem.line.segments[1].endPoint.x = 188.66
myElem.line.segments[1].endPoint.y = 256.66
element.line.segments[ ].pen
Returns and sets the pen of one line segment as string. Any existing pen is allowed.
myElem.line.segments[1].pen = "Thick"
element.line.segments[ ].style
Returns and sets the style of one line segment as string. Any existing style is allowed.
myElem.line.segments[1].style = "Solid"
element.line.segments[ ].halo
Returns and sets the halo of one line segment as string. Any existing halo is allowed.
myElem.line.segments[1].halo = "Autom. Long"