Howdy,
For those of you who use ScribbleR2 I have generated an alternative
MaterializeMapPDFPage method.
This will produce three(3) images and one(1) text page in the generated PDF
file.
byte[] forPdf1 = MaterializeMapImagePage(session, mapname, width,
height, imageflavor);
byte[] forPdf2 = MaterializeMapImagePage(session, mapname,
System.Convert.ToInt32(Math.Ceiling(width * .65)),
System.Convert.ToInt32(Math.Ceiling(height * .65)),
imageflavor);
byte[] forPdf3 = MaterializeMapImagePage(session, mapname,
System.Convert.ToInt32(Math.Ceiling(width * .40)),
System.Convert.ToInt32(Math.Ceiling(height * .40)),
imageflavor);
Preferences are set in the output PDF to show thumbnails and Fit.
The fourth(4) page is the text contents of the Scribble markup layer.
(centroid of geometry)
If you have made no changes yourself you should be able to rename the
existing MaterializeMapPDFPage method that is in scribblemethodsmgr.cs, copy
and paste the contents of the attachment and you should be good-to-go.
r,
dennis
http://www.nabble.com/file/p20660169/MaterializeMapPDFPage.cs
MaterializeMapPDFPage.cs
--
View this message in context:
http://www.nabble.com/ScribbleR2-with-different-PDF-output-tp20660169p20660169.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users