EditLine
Inserts an interactive line control into the spreadsheet. When the control is clicked, the display switches to Interactive Graphics Mode, where the position and size of the line can be adjusted. For more information, see Interactive Graphics Mode.
EditLine Inputs
Syntax: EditLine(Image,Fixture.Row,Fixture.Column,Fixture.Theta,Move Point 0,Move Point 1,Name,Show)
Parameter | Description | ||||||
---|---|---|---|---|---|---|---|
This argument must reference a spreadsheet cell that contains a valid Image data structure. By default, the cell referenced is A0, the cell containing the Image data structure returned by AcquireImage. |
|||||||
Specifies the image coordinate system in which the input line is defined.
|
|||||||
Disables or enables the ability to adjust the input Point 0 position.
|
|||||||
Disables or enables the ability to adjust the input Point 1 position.
|
|||||||
Specifies a text label for the EditLine control element in the spreadsheet. |
|||||||
Specifies the display mode for the EditLine graphics overlay on the image.
|
EditLine Outputs
Results |
A result table will automatically be created in the cells adjacent to the right of the EditLine control. |
EditLine Vision Data Access Functions
The following Vision Data Access functions are automatically inserted into the spreadsheet to create the result table. For more information, see Structures.
Row0 |
GetRow(Line,0) |
The row offset of the first endpoint, in image coordinates. |
Col0 |
GetCol(Line,0) |
The column offset of the first endpoint, in image coordinates. |
Row1 |
GetRow(Line,1) |
The row offset of the second endpoint, in image coordinates. |
Col1 |
GetCol(Line,1) |
The column offset of the second endpoint, in image coordinates. |