Line - Geometric Object
Description
The Line object allows the user to draw a line. The user can configure the Line color, rotate the object, and change its thickness and line style.
Properties and Functions
Info
- Name
- Size
- Location
- Line Position
- ZIndex
- Draggable
Configuration
- Angle
- Thickness
- Line Style
- HotKey
- Is Enabled
- Is Visible
- ToolTip
Functions
- .X1
- .X2
- .Y1
- .Y2
The above properties and functions can be configured using the Property Window when the object is selected but they can also be changed during runtime using a script. The script must be on the same screen as the object is located and they can be accessed by the name of the object (i.e. objName.Angle = objName.Angle + 1; )
Inserting a Line
To create a new Line in the Graphics Document:
- Click the “Line” option in the Ribbon.
- Place the mouse pointer where you want to create the Line.
- Click to create the new Line.
Script Events
The Line object provides several script events for the user.
- Mouse Up
- Mouse Down
- Mouse While
- Mouse Right Up
- Mouse Right Down
- Mouse Double Click
Security
It is possible to configure different permissions per profile for this object. For further information, please check the Security white paper.