Want to access the X Y of the mouse cursor programmatically to to access inside of a button controls onClick.
I want to be able to access the values circled in red (Screntshot) from an Add-In button control
Have you been able to figure this out? I've been trying to figure this out and still unsure
Daniel, take a look at this sample. It basically does what u want:
https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Map-Exploration/MapToolWithOverlayControl
Money lines are here:
https://github.com/Esri/arcgis-pro-sdk-community-samples/blob/master/Map-Exploration/MapToolWithOverlayControl/ShowCoordinatesTool.cs#L60-L61
(ps, this is a MapTool not a Button. There is no callback for a button)
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.