I'm trying to create an add-in tool for ArcMap that will allow the user to click on the map and insert a text element showing the XY coordinate of the point where they clicked.
The functionality should be similar to the 'Add Labelled Point' option on the Go to XY tool, except I want to get the XY from the location of the user's click.
Looking at the documentation for TextElement, it talks about providing access to the properties of an existing TextElement, or cloning an existing TextElement, but doesn't say anything about creating a new TextElement. Is this possible in a Python add-in, or would it have to be done in ArcObjects?
Dan
The functionality should be similar to the 'Add Labelled Point' option on the Go to XY tool, except I want to get the XY from the location of the user's click.
Looking at the documentation for TextElement, it talks about providing access to the properties of an existing TextElement, or cloning an existing TextElement, but doesn't say anything about creating a new TextElement. Is this possible in a Python add-in, or would it have to be done in ArcObjects?
Dan