@djhanson,
The graphic created by Add Polygon Annotation seems to be added to the PictureBox object and the values in the save script are units of pixels. An approximation of the X and Y coordinates can possibly be made by:
- getting the pixels of the polygon
- getting the size of the PictureBox
- getting the size of each AxisBox, and maybe the FrameBox
- getting each axis's settings (Min, Max, Inc)
- compute the relative values.
That said, once I calculated that, I would remove the Polygon Annotation and add a graphics script to the FrameBox that draws a polygon using the approximated coordinates.
Other methods would be to add a button to the report that draws an editable polygon. This would require callback functions using a MouseBox or Handle or something like that. There are other call back methods that I can imagine.
I don't have time at the moment to take a stab at either method. But maybe another community member has a solution.
It would be useful to know how you intend to use these coodinates.