<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<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]-->
<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-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]-->
</head>

<body bgcolor=white lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=black face="Book Antiqua"><span
style='font-size:10.0pt;font-family:"Book Antiqua"'>Hi,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Book Antiqua"><span
style='font-size:10.0pt;font-family:"Book Antiqua"'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Book Antiqua"><span
style='font-size:10.0pt;font-family:"Book Antiqua"'>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&#8217;t set any property, but It does
not work if I don&#8217;t check the Display feature Labels. <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Book Antiqua"><span
style='font-size:10.0pt;font-family:"Book Antiqua"'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Book Antiqua"><span
style='font-size:10.0pt;font-family:"Book Antiqua"'>Means if there is text &#8220;None&#8221;
&nbsp;set in Label Style &nbsp;in Area Style then it does not work , otherwise
it works by simply checking the Display feature Labels in Label Style Dialog
Box.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Book Antiqua"><span
style='font-size:10.0pt;font-family:"Book Antiqua"'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Book Antiqua"><span style='font-size:10.0pt;font-family:"Book Antiqua"'>That&#8217;s
why in your example code, this code &#8220;</span></font><font size=2
face="Book Antiqua"><span style='font-size:10.0pt;font-family:"Book Antiqua"'>if
(ar.Label != null)&#8221; is written.<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Book Antiqua"><span style='font-size:10.0pt;font-family:"Book Antiqua"'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Book Antiqua"><span style='font-size:10.0pt;font-family:"Book Antiqua"'>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&#8217;t want to check the &nbsp;</span></font><font
size=2 face="Book Antiqua"><span style='font-size:10.0pt;font-family:"Book Antiqua"'>Display
feature Labels checkbox,</span></font><font size=2 face="Book Antiqua"><span
style='font-size:10.0pt;font-family:"Book Antiqua"'> To Generate the dynamic
label I tried to write my commented line of code (c#), but does not work.<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Book Antiqua"><span style='font-size:10.0pt;font-family:"Book Antiqua"'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Book Antiqua"><span style='font-size:10.0pt;font-family:"Book Antiqua"'>Please
If can be done ?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face="Book Antiqua"><span
style='font-size:10.0pt;font-family:"Book Antiqua";color:blue'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Book Antiqua"><span style='font-size:10.0pt;font-family:"Book Antiqua";
color:windowtext'>&nbsp; </span></font><font size=2 color=blue
face="Book Antiqua"><span style='font-size:10.0pt;font-family:"Book Antiqua";
color:blue'>foreach</span></font><font size=2 color=black face="Book Antiqua"><span
style='font-size:10.0pt;font-family:"Book Antiqua";color:windowtext'> (</span></font><font
size=2 color=teal face="Book Antiqua"><span style='font-size:10.0pt;font-family:
"Book Antiqua";color:teal'>VectorScaleRangeType</span></font><font size=2
color=black face="Book Antiqua"><span style='font-size:10.0pt;font-family:"Book Antiqua";
color:windowtext'> vsr </span></font><font size=2 color=blue face="Book Antiqua"><span
style='font-size:10.0pt;font-family:"Book Antiqua";color:blue'>in</span></font><font
size=2 color=black face="Book Antiqua"><span style='font-size:10.0pt;
font-family:"Book Antiqua";color:windowtext'>
vectorLayerDefinition1.VectorScaleRange)<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Book Antiqua"><span style='font-size:10.0pt;font-family:"Book Antiqua";
color:windowtext'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
{<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Book Antiqua"><span style='font-size:10.0pt;font-family:"Book Antiqua";
color:windowtext'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font size=2 color=blue face="Book Antiqua"><span
style='font-size:10.0pt;font-family:"Book Antiqua";color:blue'>foreach</span></font><font
size=2 color=black face="Book Antiqua"><span style='font-size:10.0pt;
font-family:"Book Antiqua";color:windowtext'> (</span></font><font size=2
color=blue face="Book Antiqua"><span style='font-size:10.0pt;font-family:"Book Antiqua";
color:blue'>object</span></font><font size=2 color=black face="Book Antiqua"><span
style='font-size:10.0pt;font-family:"Book Antiqua";color:windowtext'> o </span></font><font
size=2 color=blue face="Book Antiqua"><span style='font-size:10.0pt;font-family:
"Book Antiqua";color:blue'>in</span></font><font size=2 color=black
face="Book Antiqua"><span style='font-size:10.0pt;font-family:"Book Antiqua";
color:windowtext'> vsr.Items)<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Book Antiqua"><span style='font-size:10.0pt;font-family:"Book Antiqua";
color:windowtext'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
{<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Book Antiqua"><span style='font-size:10.0pt;font-family:"Book Antiqua";
color:windowtext'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font size=2 color=blue face="Book Antiqua"><span
style='font-size:10.0pt;font-family:"Book Antiqua";color:blue'>if</span></font><font
size=2 color=black face="Book Antiqua"><span style='font-size:10.0pt;
font-family:"Book Antiqua";color:windowtext'> (o </span></font><font size=2
color=blue face="Book Antiqua"><span style='font-size:10.0pt;font-family:"Book Antiqua";
color:blue'>is</span></font><font size=2 color=black face="Book Antiqua"><span
style='font-size:10.0pt;font-family:"Book Antiqua";color:windowtext'> </span></font><font
size=2 color=teal face="Book Antiqua"><span style='font-size:10.0pt;font-family:
"Book Antiqua";color:teal'>AreaTypeStyleType</span></font><font size=2
color=black face="Book Antiqua"><span style='font-size:10.0pt;font-family:"Book Antiqua";
color:windowtext'>)<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Book Antiqua"><span style='font-size:10.0pt;font-family:"Book Antiqua";
color:windowtext'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
{<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Book Antiqua"><span style='font-size:10.0pt;font-family:"Book Antiqua";
color:windowtext'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font size=2 color=teal face="Book Antiqua"><span
style='font-size:10.0pt;font-family:"Book Antiqua";color:teal'>AreaTypeStyleType</span></font><font
size=2 color=black face="Book Antiqua"><span style='font-size:10.0pt;
font-family:"Book Antiqua";color:windowtext'> ast = o </span></font><font
size=2 color=blue face="Book Antiqua"><span style='font-size:10.0pt;font-family:
"Book Antiqua";color:blue'>as</span></font><font size=2 color=black
face="Book Antiqua"><span style='font-size:10.0pt;font-family:"Book Antiqua";
color:windowtext'> </span></font><font size=2 color=teal face="Book Antiqua"><span
style='font-size:10.0pt;font-family:"Book Antiqua";color:teal'>AreaTypeStyleType</span></font><font
size=2 color=black face="Book Antiqua"><span style='font-size:10.0pt;
font-family:"Book Antiqua";color:windowtext'>;<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Book Antiqua"><span style='font-size:10.0pt;font-family:"Book Antiqua";
color:windowtext'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font size=2 color=blue face="Book Antiqua"><span
style='font-size:10.0pt;font-family:"Book Antiqua";color:blue'>if</span></font><font
size=2 color=black face="Book Antiqua"><span style='font-size:10.0pt;
font-family:"Book Antiqua";color:windowtext'> (ast.AreaRule != </span></font><font
size=2 color=blue face="Book Antiqua"><span style='font-size:10.0pt;font-family:
"Book Antiqua";color:blue'>null</span></font><font size=2 color=black
face="Book Antiqua"><span style='font-size:10.0pt;font-family:"Book Antiqua";
color:windowtext'>)<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Book Antiqua"><span style='font-size:10.0pt;font-family:"Book Antiqua";
color:windowtext'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
{<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Book Antiqua"><span style='font-size:10.0pt;font-family:"Book Antiqua";
color:windowtext'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font size=2 color=blue face="Book Antiqua"><span
style='font-size:10.0pt;font-family:"Book Antiqua";color:blue'>foreach</span></font><font
size=2 color=black face="Book Antiqua"><span style='font-size:10.0pt;
font-family:"Book Antiqua";color:windowtext'> (</span></font><font size=2
color=teal face="Book Antiqua"><span style='font-size:10.0pt;font-family:"Book Antiqua";
color:teal'>AreaRuleType</span></font><font size=2 color=black
face="Book Antiqua"><span style='font-size:10.0pt;font-family:"Book Antiqua";
color:windowtext'> ar </span></font><font size=2 color=blue face="Book Antiqua"><span
style='font-size:10.0pt;font-family:"Book Antiqua";color:blue'>in</span></font><font
size=2 color=black face="Book Antiqua"><span style='font-size:10.0pt;
font-family:"Book Antiqua";color:windowtext'> ast.AreaRule)<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Book Antiqua"><span style='font-size:10.0pt;font-family:"Book Antiqua";
color:windowtext'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
{<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Book Antiqua"><span style='font-size:10.0pt;font-family:"Book Antiqua";
color:windowtext'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font size=2 color=green face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:green'>//Code to Create
the label at run time<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in;text-autospace:none'><font size=2
color=green face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
color:green'>&nbsp; &nbsp;//====================================</span></font><font
size=2 color=black face="Book Antiqua"><span style='font-size:10.0pt;
font-family:"Book Antiqua";color:windowtext'><o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Book Antiqua"><span style='font-size:10.0pt;font-family:"Book Antiqua";
color:windowtext'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font size=2 color=green face="Book Antiqua"><span
style='font-size:10.0pt;font-family:"Book Antiqua";color:green'>//TextSymbolType
txtSymb = new TextSymbolType();<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Book Antiqua"><span style='font-size:10.0pt;font-family:"Book Antiqua";
color:windowtext'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font size=2 color=green face="Book Antiqua"><span
style='font-size:10.0pt;font-family:"Book Antiqua";color:green'>//txtSymb.Text
= &quot;MY_PROPERTY_NAME&quot;;<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Book Antiqua"><span style='font-size:10.0pt;font-family:"Book Antiqua";
color:windowtext'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;</span></font><font size=2 color=green face="Book Antiqua"><span
style='font-size:10.0pt;font-family:"Book Antiqua";color:green'>//ar.Label =
txtSymb;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:1.0in;text-autospace:none'><font size=2
color=green face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New";
color:green'>&nbsp; //====================================</span></font><font
size=2 color=green face="Book Antiqua"><span style='font-size:10.0pt;
font-family:"Book Antiqua";color:green'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Book Antiqua"><span style='font-size:10.0pt;font-family:"Book Antiqua";
color:windowtext'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font size=2 color=blue face="Book Antiqua"><span
style='font-size:10.0pt;font-family:"Book Antiqua";color:blue'>if</span></font><font
size=2 color=black face="Book Antiqua"><span style='font-size:10.0pt;
font-family:"Book Antiqua";color:windowtext'> (ar.Label != </span></font><font
size=2 color=blue face="Book Antiqua"><span style='font-size:10.0pt;font-family:
"Book Antiqua";color:blue'>null</span></font><font size=2 color=black
face="Book Antiqua"><span style='font-size:10.0pt;font-family:"Book Antiqua";
color:windowtext'>)<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Book Antiqua"><span style='font-size:10.0pt;font-family:"Book Antiqua";
color:windowtext'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
{<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Book Antiqua"><span style='font-size:10.0pt;font-family:"Book Antiqua";
color:windowtext'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
ar.Label.Text = </span></font><font size=2 color=maroon face="Book Antiqua"><span
style='font-size:10.0pt;font-family:"Book Antiqua";color:maroon'>&quot;</span></font><font
size=2 color=green face="Book Antiqua"><span style='font-size:10.0pt;
font-family:"Book Antiqua";color:green'>MY_PROPERTY_NAME</span></font><font
size=2 color=maroon face="Book Antiqua"><span style='font-size:10.0pt;
font-family:"Book Antiqua";color:maroon'> &quot;</span></font><font size=2
color=black face="Book Antiqua"><span style='font-size:10.0pt;font-family:"Book Antiqua";
color:windowtext'>;<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Book Antiqua"><span style='font-size:10.0pt;font-family:"Book Antiqua";
color:windowtext'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
}<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Book Antiqua"><span style='font-size:10.0pt;font-family:"Book Antiqua";
color:windowtext'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
}<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Book Antiqua"><span style='font-size:10.0pt;font-family:"Book Antiqua";
color:windowtext'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
}<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Book Antiqua"><span style='font-size:10.0pt;font-family:"Book Antiqua";
color:windowtext'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
}<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 color=black
face="Book Antiqua"><span style='font-size:10.0pt;font-family:"Book Antiqua";
color:windowtext'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
}<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Book Antiqua"><span
style='font-size:10.0pt;font-family:"Book Antiqua";color:windowtext'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font size=2 color=blue face="Book Antiqua"><span
style='font-size:10.0pt;font-family:"Book Antiqua";color:blue'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face="Book Antiqua"><span
style='font-size:10.0pt;font-family:"Book Antiqua";color:blue'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=MsoNormal><b><font size=2 color=gray face="Book Antiqua"><span
style='font-size:10.0pt;font-family:"Book Antiqua";color:gray;font-weight:bold'>Thanks
&amp; Regards,<o:p></o:p></span></font></b></p>

<p class=MsoNormal><font size=2 color=gray face="Times New Roman"><span
style='font-size:11.0pt;color:gray'>Ravinder</span></font><font color=black><span
style='color:windowtext'><o:p></o:p></span></font></p>

<div class=MsoNormal align=center style='text-align:center'><font size=3
color=black face="Times New Roman"><span style='font-size:12.0pt;color:windowtext'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

</div>

<div>

<p class=MsoNormal><b><font size=2 color=black face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;color:windowtext;font-weight:bold'>From:</span></font></b><font
size=2 color=black face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;
color:windowtext'> mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] <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 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 size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'>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">http://trac.osgeo.org/mapguide/wiki/maestro/MaestroAPI/samples/IterateLayerRules</a><br>
<br>
<br>
<o:p></o:p></span></font></p>

<pre><font size=2 color=black face="Courier New"><span style='font-size:10.0pt'>Regards, Kenneth Skovhede, GEOGRAF A/S<o:p></o:p></span></font></pre>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><br>
<br>
<a href="mailto:ravinder.singh@BIRLASOFT.COM">ravinder.singh@BIRLASOFT.COM</a>
skrev: <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Book Antiqua"><span
style='font-size:10.0pt;font-family:"Book Antiqua"'><!--[if gte mso 9]><xml>
 <u1:shapedefaults u2:ext="edit" spidmax="1026"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <u3:shapelayout u4:ext="edit">
  <u3:idmap u4:ext="edit" data="1"/>
 </u3:shapelayout>
</xml><![endif]-->Hi All,<u5:p></u5:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=black face="Book Antiqua"><span
style='font-size:10.0pt;font-family:"Book Antiqua"'><u5:p>&nbsp;</u5:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=black face="Book Antiqua"><span
style='font-size:10.0pt;font-family:"Book Antiqua"'>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&#8217;t know the exact procedure.<u5:p></u5:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=black face="Book Antiqua"><span
style='font-size:10.0pt;font-family:"Book Antiqua"'><u5:p>&nbsp;</u5:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=black face="Book Antiqua"><span
style='font-size:10.0pt;font-family:"Book Antiqua"'>I am using maestro api for
creating run time map.<u5:p></u5:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=black face="Book Antiqua"><span
style='font-size:10.0pt;font-family:"Book Antiqua"'><u5:p>&nbsp;</u5:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=black face="Book Antiqua"><span
style='font-size:10.0pt;font-family:"Book Antiqua"'>Please assist&#8230;<u5:p></u5:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=black face="Book Antiqua"><span
style='font-size:10.0pt;font-family:"Book Antiqua"'><u5:p>&nbsp;</u5:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=black face="Book Antiqua"><span
style='font-size:10.0pt;font-family:"Book Antiqua"'>I am using c#, asp.net.<u5:p></u5:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=black face="Book Antiqua"><span
style='font-size:10.0pt;font-family:"Book Antiqua"'><u5:p>&nbsp;</u5:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=black face="Book Antiqua"><span
style='font-size:10.0pt;font-family:"Book Antiqua"'><u5:p>&nbsp;</u5:p></span></font><o:p></o:p></p>

<p class=MsoNormal><b><font size=2 color=gray face="Book Antiqua"><span
style='font-size:10.0pt;font-family:"Book Antiqua";color:gray;font-weight:bold'>Thanks
&amp; Regards,<u5:p></u5:p></span></font></b><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=gray face="Times New Roman"><span
style='font-size:11.0pt;color:gray'>Ravinder<u5:p></u5:p></span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt'><u5:p>&nbsp;</u5:p><o:p></o:p></span></font></p>

<table class=MsoNormalTable border=0 cellpadding=0>
 <tr>
  <td bgcolor=white style='background:white;padding:.75pt .75pt .75pt .75pt'><pre><font
  size=2 color=black face="Courier New"><span style='font-size:10.0pt'>*********************************************************************************************************************************************************************%CRLF%&quot;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">administrator@birlasoft.com</a>) and permanently delete this message and any attachments. Thank you.&quot;%CRLF%*********************************************************************************************************************************************************************%CRLF%<o:p></o:p></span></font></pre></td>
 </tr>
</table>

<pre wrap=""><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre
style='text-align:center'><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt'>

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

</span></font></pre><pre><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>_______________________________________________<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>mapguide-users mailing list<o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'><a
href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><o:p></o:p></span></font></pre><pre><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt'><a
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
size=2 color=black face="Courier New"><span style='font-size:10.0pt'>&nbsp; <o:p></o:p></span></font></pre></div>

</body>

</html>

<table><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 (administrator@birlasoft.com) and permanently delete this message and any attachments. Thank you."%CRLF%*********************************************************************************************************************************************************************%CRLF%</pre></font></td></tr></table>