-1
votes
1answer
167 views

ArcGIS Engine--load mxd file to map control or pagelayout control?

When load a mxd file using ArcGis engine,how to automatically detect whether it's saved in mapcontrol or pagelayout control?Thanks!
0
votes
1answer
117 views

How to zoom in/out selected elements of MapControl?

I have a mapcontrol that includes many elements: text, line. I used this code to add elements into mapcontrol: pGraphicsContainer.AddElement(pElement, 0); I can use zoom button to zoom in/out the ...
0
votes
1answer
150 views

Can't load Mxd file in MapControl?

I used below codes to save IMap into byte[] (to store in my database), but I can't load it again, are there anyone know what's wrong ? public byte[] SaveMap(AxPageLayoutControl pageLayOut) { ...
0
votes
1answer
170 views

Using ESRI.ArcGIS.Display.ITemplate to draw cutom lines?

I am using ESRI.ArcGIS.Display.ITemplate to draw custom lines such as dot/dash lines on a map control. Then, I used below codes ESRI.ArcGIS.Display.ITemplate templateCls = new ...
1
vote
0answers
186 views

Zooming MapControl (Arcgis) doesn't effect?

I am trying to use the Zoom commands (Zoom In, zoom out) for a MapControl. But it doesn't make "Text elements" bigger (larger) or smaller. Please see my image. I used the below function to add a ...