# EditPoint

Inserts an interactive point control into the spreadsheet. When the control is clicked, the display switches to Interactive Graphics Mode, where the position of the point can be adjusted.

Note: To access the Property Sheet for EditPoint, right-click the EditPoint control and select Edit Function.
Inputs

Parameter | Description
Image | This parameter must reference a spreadsheet cell that contains an Image data structure. By default, this parameter references cell A0, the cell containing the Image data structure returned by the AcquireImage function. This parameter can also reference other Image data structures, such as those returned by the Vision Tool Image Functions or Coordinate Transforms Functions.
Fixture | Specifies the image coordinate system in which the input point is defined.
X | The X-offset of the origin, in fixture coordinates.
Y | The Y-offset of the origin, in fixture coordinates.
Theta | The rotation from the image X-axis, in the image coordinate system. (+/-360 degrees clockwise)
Move | Disables or enables the ability to adjust the input point position.
0 = OFF | The input point cannot be moved.
1 = ON (default) | The input point can be moved.
Name | Specifies a text label for the EditPoint control element in the spreadsheet.
Show | Specifies the display mode for the EditPoint graphics overlay on the image.
0 = hide all | The point is hidden, except when the cell containing the EditPoint function is highlighted in the spreadsheet.
2 = input graphics only | The point is displayed at all times.

Outputs

Results | A result table is automatically created in the cells adjacent to the right of the EditPoint control. The following Structures Vision Data Access functions are automatically inserted into the spreadsheet to create the result table:
Label | Function | Description
--- | --- | ---
X | GetX(Line) | The X offset, in image coordinates.
Y | GetY(Line) | The Y offset, in image coordinates.