ThinkGeo.com    |     Documentation    |     Premium Support

Printing Maps and Print Preview Dialog

Hi,


Do you have any examples on how to use the Desktop Edition with the PrintPreview Dialog that comes with Visual Stuidol?  I see the Map.DrawtoBitmap method, but I'm not sure how to use this with the PrintPreview Dialog.  I thought 2.0 used to have an example that showed this, but I couldn't find it.  Do you have any ideas?


Thanks!



Clint, 


Thanks for your post!
 
Attachment is simple demo you can use to show how to use the PrintPreview dialog to print!
 
Any more questions just let me know.
 
Thanks.
 
Yale

813-Post_5911_Demo.zip (10.5 KB)

Do you have this example in vb.net.  I am trying to save a bitmap image and only get a black image???

Jeanne,


Welcome you to ThinkGeo Desktop Discussion forum.


First of all , could you let me know which version you are trying to use now? You could get the version by following API:



String version = WinformsMap.GetVersion();

Any more questions just feel free to let me know.


Thanks.


Yale

 



Jeanne,


Welcome to our Discussion forum!


I have created the sample for vb.net. It works properly in 3.1.299. Please tell us your version which you can get as Yale's information.


Thanks


James


 



1497-Post_5911_Demo_VB.zip (12.9 KB)