Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I embedded ArcGIS Engine into a c#/wpf application and use it to display a map. Now for print my client needs to display the scale of the map like it is used on street maps (the small bar which shows how long 500m are, and/or the scale information like 1:25000).

Prints are always on a set paper size like A4.

Is there a simple way to achieve this in an ArcGIS Engine application?

share|improve this question
up vote 2 down vote accepted

We made the layout in ArcMap and added a scalebar. In ArcGIS Engine we use the pagelayout to display a print preview and sent it to the printer. Not sure how this works in WPF but in winforms we used the sample for synchronize map and pagelayout to get started, but customized so we could open different layouts.

share|improve this answer
I can't find a scalebar control in the ArcEngine documentation, any idea how it is called internally? – Sam Aug 22 '11 at 14:19
Yes, the AlternatingScaleBar is exactly what I am looking for - pity there is no clue how to add one to a AxMapControl (mostly I find the esri docs very confusing). – Sam Aug 23 '11 at 10:16
Oh, there actually is sample code "Add Map Surrounds" for the ScaleBar - which is one of the most convoluted and confusing examples I've ever seen. #Sigh – Sam Aug 23 '11 at 10:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.