[mapguide-users] Re: scale bar image for pdf
Jackie Ng
jumpinjackie at gmail.com
Thu May 5 21:25:52 EDT 2011
Here's an idea which I am not 100% sure will work, but is worth trying :)
Autodesk offers a free web service called freewheel, which allows you to
render DWF files to images.
So what you could do is have an aspx page that spits out the DWF file via
the MgMappingService.
Then feed this url to the freewheel web service
http://freewheel.autodesk.com/DWFImage.aspx?path=http://path/to/your/script.aspx&page=2&width=600&height=300
Use System.Net.HttpWebRequest to call the freewheel web service with this
url. The http response stream can be fed into
System.Drawing.Image.FromStream(), which you could then insert into your
pdf.
- Jackie
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/scale-bar-image-for-pdf-tp6332139p6336202.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list