Donwload realized the example
wiki.thinkgeo.com/wiki/File:ServicesEditionSample_PrintPreview_CS_WinForms_111115.zip
To implement this solution in my application.
But when we sent directly print to print in landscape orientation is not coming out right. Output is cut in the bottom left corner, regardless of the selected paper size (A4, A3, A0).
That same exeplo have as pre visulalizar printing, but the print are cut on the right side of the page.
NOTE: the layout shown in the screen presentation is perfect, just changing the paper orientation and adjusting components (Legend, Texts) informed the above happens.
Problems printing
Hi Carlos,
Can you show the picture you printed? Attached is the files that contains how it looks like in the program and the printed paper.
Thanks,
Edgar
A4.zip (493 KB)
Follow my prints.
I had to reduce the extension of the map, because if you stretch the map to fit on the sheet attached shows the error ..
erro.txt (3.3 KB)
A4_Print.jpg (112 KB)
A4_Screen.png (50.4 KB)
Hi Carlos,
Can you print this map again except this time print to .xps? If your layout looks correct when you print to .xps then there must be a printer setting that is maniupulating the layout. If when you print to .xps your layout is wrong then there must be something going on with the map itself.
Let me know your findings.