<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
If you disect the error message it is:<br>
<br>
<font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">(Text,FontName,ForegroundColor,BackgroundColor,BackgroundStyle,HorizontalAlignment,VerticalAlignment,Bold,Italic,Underlined,AdvancedPlacement)</span></font><br>
<font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">(Unit,SizeContext,SizeX,SizeY,Rotation,MaintainAspect,InsertionPointX),</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">InsertionPointY<br>
<br>
The item's named in the parenthesis must be present at the same time.<br>
<br>
Can you try to set the "BackgroundStyle" value? Or Perhaps the
"AdvancedPlacement"?<br>
<br>
Also, try to set the InsertionPointX/Y values as well.<br>
Those properties have a InsertionPointXDefined boolean as well, since a
double is/were not nullable in .Net.<br>
<br>
If you figure out what is missing, I'll update the MaestroAPI to
automatically insert a default value.<br>
</span></font><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;"><br>
</span></font>
<pre class="moz-signature" cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</pre>
<br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:ravinder.singh@BIRLASOFT.COM">ravinder.singh@BIRLASOFT.COM</a> skrev:
<blockquote
 cite="mid:176511108BBB7842992F0BF7B56EB6180678C278@INNOIDA.BIRLASOFT.COM"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <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]-->
  <style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Mangal;
        panose-1:0 0 4 0 0 0 0 0 0 0;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Book Antiqua";
        panose-1:2 4 6 2 5 3 5 3 3 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";
        color:black;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
pre
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Book Antiqua";
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Book Antiqua";
        color:blue;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Book Antiqua";
        color:blue;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
  </style><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
  </o:SmartTagType>
  <div class="Section1">
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">Hi,<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;"><o:p> </o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">I
have set the properties you told me to set. But its not working.
Infact I have set all the properties of label style as in following
code.Tried
in many other ways around also, but not getting success.<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;"><o:p> </o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">Its
giving the following error<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;"><o:p> </o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">“The
remote server returned an error: (559) MgDbXmlException.:
  <o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">An
exception occurred in DB XML component.<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">Error:
XML Indexer:  Parse error in document at line, 43,
char 19. Parser message: Element 'Text' is not valid for content model:
'((Unit,SizeContext,SizeX,SizeY,Rotation,MaintainAspect,InsertionPointX),InsertionPointY,(Text,FontName,ForegroundColor,BackgroundColor,BackgroundStyle,HorizontalAlignment,VerticalAlignment,Bold,Italic,Underlined,AdvancedPlacement),ExtendedData1)'<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">Exception
occurred in method MgResourceDefinitionManager.UpdateDocument
at line 601 in file
d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src\services\resource\ResourceDefinitionManager.cpp”
 when reaching at conn.SaveResource(obj</span></font><font color="teal"
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: teal;">VectorLayerDefinitionType</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">)
position.<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">I
remove
the line ar.Label.Text = </span></font><font color="maroon"
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">"</span></font><font
 color="green" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: green;">MY_PROPERTY_NAME</span></font><font
 color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;"> "</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">;</span></font><font
 color="blue" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: blue;"><o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">Then
its gives the same error for FontName, same way gives
for SizeX and SizeY.<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;"><o:p> </o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">Here
is the code<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;"><o:p> </o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">ar.Label
= </span></font><font color="blue" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">new</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">
  </span></font><font color="teal" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: teal;">TextSymbolType</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">();<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="green" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: green;">//TextSymbolType
txtsymb = new TextSymbolType();<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="green" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: green;">//txtsymb.Text
= "</span></font><font color="green" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: green;">MY_PROPERTY_NAME</span></font><font
 color="green" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: green;"> ";</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;"><o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="green" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: green;">//ar.Label
= txtsymb;<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">ar.Label.Bold
= </span></font><font color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">"false"</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">;<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">ar.Label.FontName
= </span></font><font color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">"Arial"</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">;<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">ar.Label.HorizontalAlignment
= </span></font><font color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">"Center"</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">;<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">ar.Label.Italic
= </span></font><font color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">"false"</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">;<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">ar.Label.BackgroundColor
= System.Drawing.</span></font><font color="teal" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: teal;">Color</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">.FromArgb(0,
System.Drawing.</span></font><font color="teal" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: teal;">Color</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">.White);
  </span></font><font color="green" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: green;">//transparent<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">ar.Label.ForegroundColor
= System.Drawing.</span></font><font color="teal" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: teal;">Color</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">.Black;<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">ar.Label.Unit
= </span></font><font color="teal" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: teal;">LengthUnitType</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">.Points;<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">ar.Label.Underlined
= </span></font><font color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">"false"</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">;<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="black" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">ar.Label.VerticalAlignment
= </span></font><font color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">"Baseline"</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">;<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="green" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: green;">//ar.Label.SizeX
= "12";<o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="green" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: green;">//ar.Label.SizeY
=
"12";                                   
  <o:p></o:p></span></font></p>
  <p class="MsoNormal" style=""><font color="green" face="Courier New"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: green;">//ar.Label.Text
= "</span></font><font color="green" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: green;">MY_PROPERTY_NAME</span></font><font
 color="green" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: green;"> ";<o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">ar.Label.Text
= </span></font><font color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">"</span></font><font
 color="green" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: green;">MY_PROPERTY_NAME</span></font><font
 color="maroon" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;"> "</span></font><font
 color="black" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: windowtext;">;</span></font><font
 color="blue" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: blue;"><o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="blue" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: blue;"><o:p> </o:p></span></font></p>
  <p class="MsoNormal"><font color="blue" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: blue;"><o:p> </o:p></span></font></p>
  <div>
  <p class="MsoNormal"><b><font color="gray" face="Book Antiqua"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: gray; font-weight: bold;">Thanks
&amp; Regards,<o:p></o:p></span></font></b></p>
  <p class="MsoNormal"><font color="gray" face="Times New Roman"
 size="2"><span style="font-size: 11pt; color: gray;">Ravinder<o:p></o:p></span></font></p>
  </div>
  <div>
  <div class="MsoNormal" style="text-align: center;" align="center"><font
 color="black" face="Times New Roman" size="3"><span
 style="font-size: 12pt; color: windowtext;">
  <hr tabindex="-1" align="center" size="2" width="100%"></span></font></div>
  <p class="MsoNormal"><b><font color="black" face="Tahoma" size="2"><span
 style="font-size: 10pt; font-family: Tahoma; color: windowtext; font-weight: bold;">From:</span></font></b><font
 color="black" face="Tahoma" size="2"><span
 style="font-size: 10pt; font-family: Tahoma; color: windowtext;">
<a class="moz-txt-link-abbreviated" href="mailto:mapguide-users-bounces@lists.osgeo.org">mapguide-users-bounces@lists.osgeo.org</a>
[<a class="moz-txt-link-freetext" href="mailto:mapguide-users-bounces@lists.osgeo.org">mailto:mapguide-users-bounces@lists.osgeo.org</a>] <b><span
 style="font-weight: bold;">On Behalf Of </span></b>Kenneth Skovhede,
GEOGRAF A/S<br>
  <b><span style="font-weight: bold;">Sent:</span></b> Thursday, March
05, 2009
7:07 PM<br>
  <b><span style="font-weight: bold;">To:</span></b> <st1:PersonName
 w:st="on">MapGuide Users Mail List</st1:PersonName><br>
  <b><span style="font-weight: bold;">Subject:</span></b> Re:
[mapguide-users]
Regarding - Set Feature Label at Run Time</span></font><font
 color="black"><span style="color: windowtext;"><o:p></o:p></span></font></p>
  </div>
  <p class="MsoNormal"><font color="black" face="Times New Roman"
 size="3"><span style="font-size: 12pt;"><o:p> </o:p></span></font></p>
  <p class="MsoNormal"><font color="black" face="Times New Roman"
 size="3"><span style="font-size: 12pt;">Yes, that is how it's supposed
to be.<br>
If you want to assign the label style, you must set many of the
required
properties for a<br>
label style object:<br>
  <br>
ar.Label = new TextSymbolType();<br>
ar.Label.BackgroundColor = System.Drawing.Color.FromArgb(0,
System.Drawing.Color.White);
//Transparent<br>
ar.Label.ForegroundColor = System.Drawing.Color.Black;<br>
ar.Label.Unit = LengthUnitType.Points;<br>
ar.Label.SizeX = "12";<br>
ar.Label.SizeY = "12";<br>
ar.Label.FontName = "Arial";<br>
  <br>
I think those are the required ones, but I have not tested it.<br>
  <br>
  <br>
  <o:p></o:p></span></font></p>
  <pre><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt;">Regards, Kenneth Skovhede, GEOGRAF A/S<o:p></o:p></span></font></pre>
  <p class="MsoNormal"><font color="black" face="Times New Roman"
 size="3"><span style="font-size: 12pt;"><br>
  <br>
  <a moz-do-not-send="true" href="mailto:ravinder.singh@BIRLASOFT.COM">ravinder.singh@BIRLASOFT.COM</a>
skrev: <o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;;"><u1:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName"><!--[if gte mso 9]><xml>
  <u1:shapedefaults u2:ext="edit" spidmax="1026"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
  <u1:shapelayout u3:ext="edit">
   <u1:idmap u3:ext="edit" data="1"/>
  </u1:shapelayout>
</xml><![endif]--></u1:SmartTagType>Hi,<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;;"><u1:p> </u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;;">I have tried it
and written
the following code. It works if I check(select) the Display feature
Labels in
Label Style Dialog Box(in maestro) and even don’t set any property, but
It does not work if I don’t check the Display feature Labels. <u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;;"><u1:p> </u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;;">Means if there
is text
“None”  set in Label Style  in Area Style then it does
not work , otherwise it works by simply checking the Display feature
Labels in
Label Style Dialog Box.<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;;"><u1:p> </u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;;">That’s why in
your
example code, this code “if (ar.Label != null)” is written.<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;;"><u1:p> </u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;;">But my problem
is that I do
have Only Area style defined in maestro , but I have not defined any
property
as feature label. So I don’t want to check the  Display feature
Labels checkbox, To Generate the dynamic label I tried to write my
commented
line of code (c#), but does not work.<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;;"><u1:p> </u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;;">Please If can be
done ?<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="blue" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: blue;"><u1:p> </u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;"> 
  </span></font><font color="blue" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: blue;">foreach</span></font><font
 color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;">
(</span></font><font color="teal" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: teal;">VectorScaleRangeType</span></font><font
 color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;">
vsr </span></font><font color="blue" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: blue;">in</span></font><font
 color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;">
vectorLayerDefinition1.VectorScaleRange)<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;">           
{<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;">               
  </span></font><font color="blue" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: blue;">foreach</span></font><font
 color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;">
(</span></font><font color="blue" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: blue;">object</span></font><font
 color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;">
o </span></font><font color="blue" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: blue;">in</span></font><font
 color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;">
vsr.Items)<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;">               
{<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;">                   
  </span></font><font color="blue" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: blue;">if</span></font><font
 color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;">
(o </span></font><font color="blue" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: blue;">is</span></font><font
 color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;">
  </span></font><font color="teal" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: teal;">AreaTypeStyleType</span></font><font
 color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;">)<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;">                   
{<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;">                       
  </span></font><font color="teal" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: teal;">AreaTypeStyleType</span></font><font
 color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;">
ast = o </span></font><font color="blue" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: blue;">as</span></font><font
 color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;">
  </span></font><font color="teal" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: teal;">AreaTypeStyleType</span></font><font
 color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;">;<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;">                       
  </span></font><font color="blue" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: blue;">if</span></font><font
 color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;">
(ast.AreaRule != </span></font><font color="blue" face="Book Antiqua"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: blue;">null</span></font><font
 color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;">)<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;">                       
{<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;">                           
  </span></font><font color="blue" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: blue;">foreach</span></font><font
 color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;">
(</span></font><font color="teal" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: teal;">AreaRuleType</span></font><font
 color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;">
ar </span></font><font color="blue" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: blue;">in</span></font><font
 color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;">
ast.AreaRule)<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;">                           
{<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;">               
               
      </span></font><font color="green" face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: green;">//Code
to Create the label at run time<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal" style="margin-left: 1in;"><font color="green"
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: green;"> 
 //====================================</span></font><o:p></o:p></p>
  <u1:p></u1:p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;">                               
  </span></font><font color="green" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: green;">//TextSymbolType
txtSymb = new TextSymbolType();<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;">                               
  </span></font><font color="green" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: green;">//txtSymb.Text
= "MY_PROPERTY_NAME";<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;">                              
 </span></font><font color="green" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: green;">//ar.Label
=
txtSymb;        <u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal" style="margin-left: 1in;"><font color="green"
 face="Courier New" size="2"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: green;"> 
//====================================</span></font><font color="green"
 face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: green;">                
      <u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;">                               
  </span></font><font color="blue" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: blue;">if</span></font><font
 color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;">
(ar.Label != </span></font><font color="blue" face="Book Antiqua"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: blue;">null</span></font><font
 color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;">)<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;">                               
{<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;">                                   
ar.Label.Text = </span></font><font color="maroon" face="Book Antiqua"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: maroon;">"</span></font><font
 color="green" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: green;">MY_PROPERTY_NAME</span></font><font
 color="maroon" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: maroon;"> "</span></font><font
 color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;">;<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;">                               
}<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;">                           
}<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;">                       
}<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;">                   
}<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;">               
}<u1:p></u1:p></span></font><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: windowtext;">           
}                       
  </span></font><o:p></o:p></p>
  <u1:p></u1:p>
  <p class="MsoNormal"><font color="blue" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: blue;"><u1:p> </u1:p></span></font><o:p></o:p></p>
  <div>
  <p class="MsoNormal"><b><font color="gray" face="Book Antiqua"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: gray; font-weight: bold;">Thanks
&amp; Regards,<u1:p></u1:p></span></font></b><o:p></o:p></p>
  <p class="MsoNormal"><font color="gray" face="Times New Roman"
 size="2"><span style="font-size: 11pt; color: gray;">Ravinder</span></font><o:p></o:p></p>
  <u1:p></u1:p>
  <div class="MsoNormal" style="text-align: center;" align="center"><font
 color="black" face="Times New Roman" size="3"><span
 style="font-size: 12pt; color: windowtext;">
  <hr tabindex="-1" align="center" size="2" width="100%"></span></font></div>
  </div>
  <div>
  <p class="MsoNormal"><b><font color="black" face="Tahoma" size="2"><span
 style="font-size: 10pt; font-family: Tahoma; color: windowtext; font-weight: bold;">From:</span></font></b><font
 color="black" face="Tahoma" size="2"><span
 style="font-size: 10pt; font-family: Tahoma; color: windowtext;"> <a
 moz-do-not-send="true"
 href="mailto:mapguide-users-bounces@lists.osgeo.org">mapguide-users-bounces@lists.osgeo.org</a>
[<a moz-do-not-send="true"
 href="mailto:mapguide-users-bounces@lists.osgeo.org">mailto:mapguide-users-bounces@lists.osgeo.org</a>]
  <b><span style="font-weight: bold;">On Behalf Of </span></b>Kenneth
Skovhede,
GEOGRAF A/S<br>
  <b><span style="font-weight: bold;">Sent:</span></b> Thursday, March
05, 2009
1:12 PM<br>
  <b><span style="font-weight: bold;">To:</span></b> <st1:PersonName
 u4:st="on"><st1:PersonName w:st="on">MapGuide Users Mail List</st1:PersonName></st1:PersonName><br>
  <b><span style="font-weight: bold;">Subject:</span></b> Re:
[mapguide-users]
Regarding - Set Feature Label at Run Time</span></font><o:p></o:p></p>
  </div>
  <u1:p></u1:p>
  <p class="MsoNormal"><font color="black" face="Times New Roman"
 size="3"><span style="font-size: 12pt;"><u1:p> </u1:p><o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="black" face="Times New Roman"
 size="3"><span style="font-size: 12pt;">That is a bit difficult for
two reasons.<br>
1) The MapGuide style model is fairly large, so there are many subitems
to
examine<br>
2) The styles for Point, Line and Area don't share the same properties,
so they
must be handled individually.<br>
  <br>
I have put up an example on how to do this here:<br>
  <a
 href="http://trac.osgeo.org/mapguide/wiki/maestro/MaestroAPI/samples/IterateLayerRules"
 moz-do-not-send="true">http://trac.osgeo.org/mapguide/wiki/maestro/MaestroAPI/samples/IterateLayerRules</a><br>
  <br>
  <br>
  <br>
  <o:p></o:p></span></font></p>
  <u1:p></u1:p>
  <pre><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt;">Regards, Kenneth Skovhede, GEOGRAF A/S<u1:p></u1:p><o:p></o:p></span></font></pre>
  <p class="MsoNormal"><font color="black" face="Times New Roman"
 size="3"><span style="font-size: 12pt;"><br>
  <br>
  <a href="mailto:ravinder.singh@BIRLASOFT.COM" moz-do-not-send="true">ravinder.singh@BIRLASOFT.COM</a>
skrev: <u1:p></u1:p><o:p></o:p></span></font></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;;"><!--[if gte mso 9]><xml>
 <u5:shapedefaults u2:ext="edit" spidmax="1026"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <u3:shapelayout u6:ext="edit">
  <u3:idmap u6:ext="edit" data="1"/>
 </u3:shapelayout>
</xml><![endif]-->Hi
All,<u5:p></u5:p></span></font><u1:p></u1:p><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;;"><u5:p> </u5:p></span></font><u1:p></u1:p><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;;">I have to set a
property as
Feature Label for a layer at run time. I got some hints and tried with
VectorLayerDefinitionType and TextSymbolType.But not able to do so as I
don’t know the exact procedure.<u5:p></u5:p></span></font><u1:p></u1:p><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;;"><u5:p> </u5:p></span></font><u1:p></u1:p><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;;">I am using
maestro api for
creating run time map.<u5:p></u5:p></span></font><u1:p></u1:p><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;;"><u5:p> </u5:p></span></font><u1:p></u1:p><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;;">Please assist…<u5:p></u5:p></span></font><u1:p></u1:p><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;;"><u5:p> </u5:p></span></font><u1:p></u1:p><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;;">I am using c#,
asp.net.<u5:p></u5:p></span></font><u1:p></u1:p><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;;"><u5:p> </u5:p></span></font><u1:p></u1:p><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Book Antiqua" size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;;"><u5:p> </u5:p></span></font><u1:p></u1:p><o:p></o:p></p>
  <p class="MsoNormal"><b><font color="gray" face="Book Antiqua"
 size="2"><span
 style="font-size: 10pt; font-family: &quot;Book Antiqua&quot;; color: gray; font-weight: bold;">Thanks
&amp; Regards,<u5:p></u5:p></span></font></b><u1:p></u1:p><o:p></o:p></p>
  <p class="MsoNormal"><font color="gray" face="Times New Roman"
 size="2"><span style="font-size: 11pt; color: gray;">Ravinder<u5:p></u5:p></span></font><u1:p></u1:p><o:p></o:p></p>
  <p class="MsoNormal"><font color="black" face="Times New Roman"
 size="3"><span style="font-size: 12pt;"><u5:p> </u5:p><u1:p></u1:p><o:p></o:p></span></font></p>
  <table class="MsoNormalTable" border="0" cellpadding="0">
    <tbody>
      <tr>
        <td
 style="padding: 0.75pt; background: white none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"
 bgcolor="white">
        <pre><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt;">*********************************************************************************************************************************************************************%CRLF%"This message and any attachments are solely for the intended recipient and may contain Birlasoft confidential or privileged information. If you are not the intended recipient,any disclosure,copying, use, or distribution of the information included in this message and any attachments is %CRLF%prohibited. If you have received this communication in error, please notify us by reply e-mail at (<a
 href="mailto:administrator@birlasoft.com" moz-do-not-send="true">administrator@birlasoft.com</a>) and permanently delete this message and any attachments. Thank you."%CRLF%*********************************************************************************************************************************************************************%CRLF%<u1:p></u1:p><o:p></o:p></span></font></pre>
        </td>
      </tr>
    </tbody>
  </table>
  <pre wrap=""><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt;"><u1:p> </u1:p><o:p></o:p></span></font></pre>
  <pre style="text-align: center;"><font color="black"
 face="Courier New" size="2"><span style="font-size: 10pt;"><o:p> </o:p></span></font></pre>
  <pre style="text-align: center;"><font color="black"
 face="Courier New" size="2"><span style="font-size: 10pt;"><o:p> </o:p></span></font></pre>
  <pre style="text-align: center;"><font color="black"
 face="Courier New" size="2"><span style="font-size: 10pt;">

<hr align="center" size="4" width="90%">

</span></font></pre>
  <pre style="text-align: center;"><font color="black"
 face="Courier New" size="2"><span style="font-size: 10pt;"><o:p> </o:p></span></font></pre>
  <pre style="text-align: center;"><font color="black"
 face="Courier New" size="2"><span style="font-size: 10pt;"><o:p> </o:p></span></font></pre>
  <pre><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt;"><u1:p> </u1:p><o:p></o:p></span></font></pre>
  <pre><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt;">_______________________________________________<u1:p></u1:p><o:p></o:p></span></font></pre>
  <pre><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt;">mapguide-users mailing list<u1:p></u1:p><o:p></o:p></span></font></pre>
  <pre><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt;"><a
 href="mailto:mapguide-users@lists.osgeo.org" moz-do-not-send="true">mapguide-users@lists.osgeo.org</a><u1:p></u1:p><o:p></o:p></span></font></pre>
  <pre><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt;"><a
 href="http://lists.osgeo.org/mailman/listinfo/mapguide-users"
 moz-do-not-send="true">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><u1:p></u1:p><o:p></o:p></span></font></pre>
  <pre><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt;">  <u1:p></u1:p><o:p></o:p></span></font></pre>
  <table class="MsoNormalTable" border="0" cellpadding="0">
    <tbody>
      <tr>
        <td
 style="padding: 0.75pt; background: white none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"
 bgcolor="white">
        <pre><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt;">*********************************************************************************************************************************************************************%CRLF%"This message and any attachments are solely for the intended recipient and may contain Birlasoft confidential or privileged information. If you are not the intended recipient,any disclosure,copying, use, or distribution of the information included in this message and any attachments is %CRLF%prohibited. If you have received this communication in error, please notify us by reply e-mail at (<a
 moz-do-not-send="true" href="mailto:administrator@birlasoft.com">administrator@birlasoft.com</a>) and permanently delete this message and any attachments. Thank you."%CRLF%*********************************************************************************************************************************************************************%CRLF%<o:p></o:p></span></font></pre>
        </td>
      </tr>
    </tbody>
  </table>
  <pre wrap=""><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt;"><o:p> </o:p></span></font></pre>
  <pre style="text-align: center;"><font color="black"
 face="Courier New" size="2"><span style="font-size: 10pt;">

<hr align="center" size="4" width="90%">

</span></font></pre>
  <pre><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt;"><o:p> </o:p></span></font></pre>
  <pre><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt;">_______________________________________________<o:p></o:p></span></font></pre>
  <pre><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt;">mapguide-users mailing list<o:p></o:p></span></font></pre>
  <pre><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt;"><a moz-do-not-send="true"
 href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><o:p></o:p></span></font></pre>
  <pre><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt;"><a moz-do-not-send="true"
 href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><o:p></o:p></span></font></pre>
  <pre><font color="black" face="Courier New" size="2"><span
 style="font-size: 10pt;">  <o:p></o:p></span></font></pre>
  </div>
  <table>
    <tbody>
      <tr>
        <td bgcolor="#ffffff"><font color="#000000">
        <pre>*********************************************************************************************************************************************************************%CRLF%"This message and any attachments are solely for the intended recipient and may contain Birlasoft confidential or privileged information. If you are not the intended recipient,any disclosure,copying, use, or distribution of the information included in this message and any attachments is %CRLF%prohibited. If you have received this communication in error, please notify us by reply e-mail at (<a class="moz-txt-link-abbreviated" href="mailto:administrator@birlasoft.com">administrator@birlasoft.com</a>) and permanently delete this message and any attachments. Thank you."%CRLF%*********************************************************************************************************************************************************************%CRLF%</pre>
        </font></td>
      </tr>
    </tbody>
  </table>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
mapguide-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
  </pre>
</blockquote>
</body>
</html>