Dennis,
That sounds cool.  Would it be possible for you to add this information to
the existing Scribble page in the code samples section?  

http://trac.osgeo.org/mapguide/wiki/CodeSamples/ASP.Net/ScribbleApp

Andy 


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of djonio
Sent: Monday, November 24, 2008 4:42 AM
To: [email protected]
Subject: [mapguide-users] ScribbleR2 with different PDF output


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-tp20660169p206601
69.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

_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to