EditPolygon
Inserts an interactive polygon control into the spreadsheet. When first inserted into a cell, the function's property sheet will be displayed. Select the Edit Graphics menu option and enter Polygon Regions Interactive Graphics Mode.
EditPolygon Inputs
General Tab
Parameter | Description | ||||||
Image |
This parameter must reference
a spreadsheet cell that contains an Image data structure; by default, this parameter references A0, the cell containing the Image data structure returned by |
||||||
Fixture |
Specifies the image coordinate system in which the input polygon is defined.
|
||||||
Add Points |
If checked (default), points can be added to the polygon during graphical editing. |
||||||
Remove Points |
If checked (default), points can be removed from the polygon during graphical editing. |
||||||
Move Points |
If checked (default), points can be moved within the polygon during graphical editing. |
||||||
Move Entire Polygon |
If checked (default), the entire polygon can be moved during graphical editing. |
||||||
Scale |
If checked (default), the polygon can be scaled during graphical editing. |
||||||
Rotate |
If checked (default), the polygon can be rotated during graphical editing. |
||||||
Name |
Specifies a text label for the EditPolygon control element in the spreadsheet. |
||||||
Show |
Specifies the display mode for the EditPolygon graphics overlay on the image.
|
Points Tab
The Points tab of the EditPolygon function is comprised of a table that lists the number of points, and their X/Y location, which can be manually specified in the table. Press the Insert button to add points.
By default, the polygon shape is comprised of three points. The Remove button is enabled if there are more than three points, and is used to remove a point from the polygon.
EditPolygon Outputs
Results |
A Polygon data structure. |