<?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 How to get The character spacing from a ITextElement arcgis engine 9.3 C# in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-get-the-character-spacing-from-a/m-p/471204#M12758</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i have a problem.I can set character spacing to a IElement as ITexElement like :&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;TextSymbolClass pTextSymbol = new TextSymbolClass();
pTextSymbol.CharacterSpacing = 10 ; //etc
((ITextElement)firstElement).Symbol= pTextSymbol;
//firstElement is a Element in map&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;Now i want to get value of CharacterSpacing when i focus to a ITextElement in Map.But when i used this code below, some thing happen and it break from function and have no exception.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
TextSymbolClass pTextSymbol2 = new TextSymbolClass();&amp;nbsp;&amp;nbsp;&amp;nbsp; 
pTextSymbol2 = (TextSymbolClass)((ITextElement)firstElement).Symbol; //break from here&amp;nbsp;&amp;nbsp;&amp;nbsp; 
value=pTextSymbol2.CharacterSpacing ;
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;So, how can I get the CharacterSpacing value of a Element,can you show me another way to get it.I'm using Arcgis engine 9.3, C# .Thank you so much.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Jul 2013 08:56:03 GMT</pubDate>
    <dc:creator>doxuan_cuong</dc:creator>
    <dc:date>2013-07-15T08:56:03Z</dc:date>
    <item>
      <title>How to get The character spacing from a ITextElement arcgis engine 9.3 C#</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-get-the-character-spacing-from-a/m-p/471204#M12758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i have a problem.I can set character spacing to a IElement as ITexElement like :&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;TextSymbolClass pTextSymbol = new TextSymbolClass();
pTextSymbol.CharacterSpacing = 10 ; //etc
((ITextElement)firstElement).Symbol= pTextSymbol;
//firstElement is a Element in map&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;Now i want to get value of CharacterSpacing when i focus to a ITextElement in Map.But when i used this code below, some thing happen and it break from function and have no exception.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
TextSymbolClass pTextSymbol2 = new TextSymbolClass();&amp;nbsp;&amp;nbsp;&amp;nbsp; 
pTextSymbol2 = (TextSymbolClass)((ITextElement)firstElement).Symbol; //break from here&amp;nbsp;&amp;nbsp;&amp;nbsp; 
value=pTextSymbol2.CharacterSpacing ;
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;So, how can I get the CharacterSpacing value of a Element,can you show me another way to get it.I'm using Arcgis engine 9.3, C# .Thank you so much.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2013 08:56:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-get-the-character-spacing-from-a/m-p/471204#M12758</guid>
      <dc:creator>doxuan_cuong</dc:creator>
      <dc:date>2013-07-15T08:56:03Z</dc:date>
    </item>
  </channel>
</rss>

