Is it posiible to use map notes from SDK?

450
2
06-04-2019 07:41 AM
GKmieliauskas
Esri Regular Contributor

We have IGraphicsContainer on ArcObjects SDK and we use it for some temporary information storing. As I understand for the same purpose I could use map notes templates (for example Line note template). How can I add Line template layer to map I have some plans (using template id activate tool), but how to check which layer was added? By layer name or other properties? What will be if customer will change layer properties? I would like to add and delete features depending on my workflow.

0 Kudos
2 Replies
UmaHarano
Esri Regular Contributor

Hi

The public API process to accomplish this will be available soon. In the meantime, this is a work around:

*Using the Pro UI:

* add the Map Note you want to the map.

* Save the Map notes as a layer file (using the sharing tab).  This is a one time process to store the MapNotes as layer files.

Then using the API:

* Add the layer file to the active map.

* You can now start using the tools to add the required template feature to your map.

Thanks

Uma

0 Kudos
GKmieliauskas
Esri Regular Contributor

Thanks Uma

0 Kudos