# 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 Functions are tools that are available in Spreadsheet for processing and analyzing acquisitions or other results. You can add functions to your Spreadsheet job to create tool chains and produce results for specific applications..
Inputs

The EditPoint function has the following syntax:

EditPoint(Image, X, Y, Theta, Move, Name, Show)

See the table for a description of the available parameters:

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 A fixture is a coordinate location on the image that keeps the tool in the place determined by the 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.