<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName" />
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Kenneth,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I am using the MaestroAPI.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=4 color="#000066" face="Courier New"><span style='font-size:14.0pt;font-family:"Courier New";color:#000066'>public <a href="http://msdn2.microsoft.com/en-us/library/System.IO.Stream" target="_top" rel="nofollow">Stream</a> RenderRuntimeMap(<br>
<a href="http://msdn2.microsoft.com/en-us/library/System.String" target="_top" rel="nofollow">string</a> resourceId,
<br>
<a href="http://msdn2.microsoft.com/en-us/library/System.Double" target="_top" rel="nofollow">double</a> x,
<br>
<a href="http://msdn2.microsoft.com/en-us/library/System.Double" target="_top" rel="nofollow">double</a> y,
<br>
<a href="http://msdn2.microsoft.com/en-us/library/System.Double" target="_top" rel="nofollow">double</a> scale,
<br>
<a href="http://msdn2.microsoft.com/en-us/library/System.Int32" target="_top" rel="nofollow">int</a> width,
<br>
<a href="http://msdn2.microsoft.com/en-us/library/System.Int32" target="_top" rel="nofollow">int</a> height,
<br>
<a href="http://msdn2.microsoft.com/en-us/library/System.Int32" target="_top" rel="nofollow">int</a> dpi<br>
)</span></font><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I don’t seem to have a “format”
parameter. The above, from the docs, conforms to the intellisense that I see at
design time.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>r,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>dennis<o:p></o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Kenneth
Skovhede, GEOGRAF A/S (via Nabble)
[mailto:<a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3042176&i=0" target="_top" rel="nofollow">ml-user+64672-2059353669@...</a>] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Monday, June 08, 2009 2:58
AM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">Jonio,
Dennis</st1:PersonName> (Aviation)<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [mapguide-users]
Maestro – RenderRuntimeMap questions</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>1) <br>
Not sure what the max values are, you will have to look <br>
through the MapGuide source to find the limits <br>
(fairly large in my experience). <br>
<br>
2) <br>
If you use MaestroAPI, just set the "format" parameter to
"JPG", <br>
there is a similar parameter in the http interface and native API. <br>
<br>
3) <br>
DPI = Dots Pr Inch <br>
So DPI defines how many pixels that your output device can display pr. inch, <br>
and is used to calculate the display extent of geometry on your screen <br>
or printer. <br>
<br>
Scale is the display scale, eg. 1:500 or 1:1000. <br>
<br>
Say you have an object that is 1000 inches wide, and display it <br>
in 1:500, it would be two inches on screen. <br>
<br>
If you set DPI = 96, you get 96 pixels pr. inch, resulting <br>
in the object being 192 pixels wide in the image. <br>
<br>
Regards, Kenneth Skovhede, GEOGRAF A/S <br>
<br>
<br>
<br>
djonio skrev: <o:p></o:p></span></font></p>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
> Just some basic questions: <br>
> <br>
> What is the max value for width and height? <br>
> Is there a way to change the output from a png to jpg? <br>
> I am unable to discern the relationship between dpi and scale -
would <br>
> someone be willing to explain the relationship between them? <br>
> r, <br>
> dennis <br>
> <br>
> <o:p></o:p></span></font></p>
</div>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>_______________________________________________
<br>
mapguide-users mailing list <br>
<a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3041591&i=0" target="_top" rel="nofollow">mapguide-users@...</a> <br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_top" rel="nofollow">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
<br>
<o:p></o:p></span></font></p>
<div class=MsoNormal align=center style='text-align:center'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=1 width="100%" noshade color="#cccccc" align=center>
</span></font></div>
<div>
<p class=MsoNormal><font size=1 color="#666666" face=Tahoma><span style='font-size:8.5pt;font-family:Tahoma;color:#666666'>This email is a reply
to your post @ <a href="http://n2.nabble.com/Maestro-%E2%80%93-RenderRuntimeMap-questions-tp3031527p3041591.html" target="_top" rel="nofollow">http://n2.nabble.com/Maestro-%E2%80%93-RenderRuntimeMap-questions-tp3031527p3041591.html</a><br>
You can reply by email or by visting the link above.<o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center>
</span></font></div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>E-mails are automatically scanned for viruses using McAfee. <o:p></o:p></span></font></p>
</div>
</div>
<br><hr align="left" width="300">
View this message in context: <a href="http://n2.nabble.com/Maestro-%E2%80%93-RenderRuntimeMap-questions-tp3031527p3042176.html">RE: [mapguide-users] Maestro - RenderRuntimeMap questions</a><br>
Sent from the <a href="http://n2.nabble.com/MapGuide-Users-f1803227.html">MapGuide Users mailing list archive</a> at Nabble.com.<br>