3

I'm looking for some examples related to the publishing of maps programmatically to image format using ArcObjects. More specifically I would like to add standard map elements such as a scale bar, legend, and north arrow.

Currently I am able to create an MXD, add several layers from paths stored in a dictionary, set the symbology based on layer files, set the extent, and export the map as a JPEG. Up to this point I haven't found any examples of ArcObjects code that also makes the map look more professional by adding additional elements (and sizing/positioning them).

Any help would be much appreciated.

asked May 15, 2013 at 16:37

1 Answer 1

5

See the Working with the page layout section in the documentation - mainly the Map surrounds topic, which provides an overview how the most common map surrounds (legend, scalebar etc.) are structured, followed by Working with map surrounds, which shows how to add these elements to the page layout.

answered May 15, 2013 at 21:46
1
  • This is perfect - I've never heard the term 'map surrounds' used before in the context of ArcMap. Commented May 15, 2013 at 21:58

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.