Select to view content in your preferred language

How to save an IMap (or IGraphicsContainer) as an Image (such as: jpg, png...) ?

3022
10
Jump to solution
09-30-2012 06:07 AM
TaiBui
by
Frequent Contributor
Hi,

I am having an IMap (AxPageLayoutControl.ActiveView.FocusMap) that includes some elements (Text, lines,...)

And, I want to create an Image (such as: jpg, png) that show all objects of the IMap (using C#, Visual Studio).

Do you know how to do that ?

Thanks and regards,

Tai
0 Kudos
10 Replies
TaiBui
by
Frequent Contributor
Hi!!!,

in the solution that you propose how do you figure the value of the screen resolution?, or is it just a random value? i trying to export an image to the printer, that information would be useful


Hi,

You can see below examples for detail:

http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#/Create_JPEG_hi_resolutio...

http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#/Create_JPEG_from_ActiveV...
0 Kudos