ThinkGeo.com    |     Documentation    |     Premium Support

Printing Very Large Maps to a Plotter

Hi,


One of my customers has a requirement to print some maps to a Plotter.  These print outs will be very large, do you have any examples of how this can be done?



Clint, 


Attachment contains a simple demo to draw the bitmap of the MapControl. If want to print some maps to a Plotter which the layout would be very large, the magic is set the right resolution for the bitmap from the MapControl.
 

Bitmap bitmap = new Bitmap(Width, Height);
winformsMap1.DrawToBitmap(bitmap, new Rectangle(0, 0, Width, Height));
bitmap.SetResolution(12, 12);

 

Honestly, we did not full test this is perfect working on Plotter you mentioned.
 
Any more questions just let me know.
 
Thanks.
 
Yale


814-Post_5911_Demo.zip (10.5 KB)