<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How create vertical TextSymbol? in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-create-vertical-textsymbol/m-p/517655#M13247</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Another solution is to create your own RotatingTextSymbol by inheriting from MarkSymbol. Add new DependencyProperty for Text, HorizontalAlignment, and Angle.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Create the ControlTemplate such that it contains a TextBlock with RotateTransform. You can bind the TextBlock's Text and HorizontalAlignment to the Symbol's Text and HorizontalAlignment properties. Similarly, you can bind the RotateTransform's Angle to the Symbol's Angle.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Dec 2010 00:47:12 GMT</pubDate>
    <dc:creator>JenniferNery</dc:creator>
    <dc:date>2010-12-01T00:47:12Z</dc:date>
    <item>
      <title>How create vertical TextSymbol?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-create-vertical-textsymbol/m-p/517652#M13244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I want create a TextSymbol with vertical alignment how i can do that?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;also, i want rotate this symbol...something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://lh6.ggpht.com/_3JqdZEy9lDU/TPVC-HnwrpI/AAAAAAAAADk/FL4j8qMeJDM/sample.png"&gt;&lt;IMG src="http://lh6.ggpht.com/_3JqdZEy9lDU/TPVC-HnwrpI/AAAAAAAAADk/FL4j8qMeJDM/sample.png" /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;each end of polyline, i will add a text.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Nov 2010 16:34:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-create-vertical-textsymbol/m-p/517652#M13244</guid>
      <dc:creator>StefhanCampos</dc:creator>
      <dc:date>2010-11-30T16:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: How create vertical TextSymbol?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-create-vertical-textsymbol/m-p/517653#M13245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can set the ControlTemplate of your TextSymbol and apply a RotateTransform for the symbology of your Graphic:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;esri:GraphicsLayer ID="MyGraphicsLayer"&amp;gt;
 &amp;lt;esri:Graphic&amp;gt;
&amp;nbsp; &amp;lt;esri:Graphic.Symbol&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;esri:TextSymbol FontFamily="Arial" FontSize="14" Foreground="Black"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:TextSymbol.ControlTemplate&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ControlTemplate&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Grid RenderTransformOrigin="0.5,0.5"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Grid.RenderTransform&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;RotateTransform Angle ="-90" /&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Grid.RenderTransform&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;TextBlock Text="My Text" /&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Grid&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/ControlTemplate&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/esri:TextSymbol.ControlTemplate&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;/esri:TextSymbol&amp;gt;
&amp;nbsp; &amp;lt;/esri:Graphic.Symbol&amp;gt;
&amp;nbsp; &amp;lt;esri:MapPoint X="-10.609" Y="23.729" /&amp;gt;
 &amp;lt;/esri:Graphic&amp;gt;
&amp;lt;/esri:GraphicsLayer&amp;gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:34:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-create-vertical-textsymbol/m-p/517653#M13245</guid>
      <dc:creator>AliMirzabeigi</dc:creator>
      <dc:date>2021-12-11T22:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: How create vertical TextSymbol?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-create-vertical-textsymbol/m-p/517654#M13246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thx for help, how i can automatically rotate text by the end of the polyline, like the image above...have any sample or getting started?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Nov 2010 22:44:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-create-vertical-textsymbol/m-p/517654#M13246</guid>
      <dc:creator>StefhanCampos</dc:creator>
      <dc:date>2010-11-30T22:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: How create vertical TextSymbol?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-create-vertical-textsymbol/m-p/517655#M13247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Another solution is to create your own RotatingTextSymbol by inheriting from MarkSymbol. Add new DependencyProperty for Text, HorizontalAlignment, and Angle.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Create the ControlTemplate such that it contains a TextBlock with RotateTransform. You can bind the TextBlock's Text and HorizontalAlignment to the Symbol's Text and HorizontalAlignment properties. Similarly, you can bind the RotateTransform's Angle to the Symbol's Angle.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Dec 2010 00:47:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-create-vertical-textsymbol/m-p/517655#M13247</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2010-12-01T00:47:12Z</dc:date>
    </item>
  </channel>
</rss>

