<?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: Setting the Color of a TextSymbol in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/setting-the-color-of-a-textsymbol/m-p/28689#M756</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;Why should there be a difference between System.Drawing.Color.ToArgb() and the preceding code?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The byte-ordering of the 32-bit ARGB value produced by &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;System.Drawing.Color.ToArgb()&lt;/SPAN&gt;&lt;SPAN&gt; is AARRGGBB.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The order for &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;IColor.RGB&lt;/SPAN&gt;&lt;SPAN&gt; is 00BBGGRR. The 00 byte is not used. So not only is the order reversed, but there is no Alpha (transparency) in the ESRI integer color.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So you will get very different colors assigning one to the other.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Nov 2011 22:29:27 GMT</pubDate>
    <dc:creator>JeffreyHamblin</dc:creator>
    <dc:date>2011-11-16T22:29:27Z</dc:date>
    <item>
      <title>Setting the Color of a TextSymbol</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/setting-the-color-of-a-textsymbol/m-p/28682#M749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="plain" name="code"&gt;&amp;nbsp; 
public void DrawText( IActiveView view, string text, string fontName, int fontColor, float fontSize, IPoint point ) {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; ITextSymbol textSymbol = new TextSymbol();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; stdole.IFontDisp font = textSymbol.Font;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; font.Name = fontName;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; font.Size = (decimal)fontSize;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; textSymbol.Font = font;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; IColor color = textSymbol.Color;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; color.RGB = fontColor;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; textSymbol.Color = color;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; ITextElement textElement = new TextElementClass();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; textElement.Text = text;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; textElement.Symbol = textSymbol;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; textElement.ScaleText = true;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; IElement element = textElement as IElement;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; element.Geometry = point;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; view.GraphicsContainer.AddElement( element, 0 );&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; view.PartialRefresh( esriViewDrawPhase.esriViewGraphics, element, null );&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
}
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone suggest to me why this code always sets the font and size correctly but sometimes fails to set the color correctly? I always see the correct color in the 'textSymbol.Color' property after the line that sets it to 'color.' On the map (within a layer) it sometimes appears to 'combine' with that layer's fill color and off the map it sometimes appears 'blue.'&amp;nbsp; Is this a bug? I am using ArcGIS 10, service pack 2.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2011 14:50:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/setting-the-color-of-a-textsymbol/m-p/28682#M749</guid>
      <dc:creator>GeorgeFaraj</dc:creator>
      <dc:date>2011-11-16T14:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: Setting the Color of a TextSymbol</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/setting-the-color-of-a-textsymbol/m-p/28683#M750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't have time right now to test this, but try the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Replace the line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; ITextSymbol textSymbol = new TextSymbol();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;with:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; ISimpleTextSymbol textSymbol = new TextSymbolClass();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and replace:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; IColor color = textSymbol.Color;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;with:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; IRgbColor color = new RgbColorClass();&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2011 16:16:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/setting-the-color-of-a-textsymbol/m-p/28683#M750</guid>
      <dc:creator>JeffreyHamblin</dc:creator>
      <dc:date>2011-11-16T16:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: Setting the Color of a TextSymbol</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/setting-the-color-of-a-textsymbol/m-p/28684#M751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp; 
public void DrawText( IActiveView view, string text, string fontName, int fontColor, float fontSize, IPoint point ) {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; ITextSymbol textSymbol = new TextSymbol();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; stdole.IFontDisp font = textSymbol.Font;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; font.Name = fontName;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; font.Size = (decimal)fontSize;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; textSymbol.Font = font;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; IColor color = textSymbol.Color;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; color.RGB = fontColor;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; textSymbol.Color = color;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; ITextElement textElement = new TextElementClass();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; textElement.Text = text;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; textElement.Symbol = textSymbol;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; textElement.ScaleText = true;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; IElement element = textElement as IElement;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; element.Geometry = point;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; view.GraphicsContainer.AddElement( element, 0 );&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; view.PartialRefresh( esriViewDrawPhase.esriViewGraphics, element, null );&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
}
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;Can anyone suggest to me why this code always sets the font and size correctly but sometimes fails to set the color correctly? I always see the correct color in the 'textSymbol.Color' property after the line that sets it to 'color.' On the map (within a layer) it sometimes appears to 'combine' with that layer's fill color and off the map it sometimes appears 'blue.'&amp;nbsp; Is this a bug? I am using ArcGIS 10, service pack 2.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this on a 64-bit machine?&amp;nbsp; I've seen problems on 64-bit machines where apparently the alpha bit was not being read correctly.&amp;nbsp; I believe the solution was to set the transparency property on the color object to 1 instead of leaving it at the default of 0.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:09:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/setting-the-color-of-a-textsymbol/m-p/28684#M751</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2021-12-10T21:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: Setting the Color of a TextSymbol</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/setting-the-color-of-a-textsymbol/m-p/28685#M752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I don't have time right now to test this, but try the following:&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll freely admit that they way you suggested should be better but it exhibits the exact same behavior.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2011 17:25:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/setting-the-color-of-a-textsymbol/m-p/28685#M752</guid>
      <dc:creator>GeorgeFaraj</dc:creator>
      <dc:date>2011-11-16T17:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: Setting the Color of a TextSymbol</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/setting-the-color-of-a-textsymbol/m-p/28686#M753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Is this on a 64-bit machine?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I wish! (I run as fast as I can on the wheel to keep this thing in front of me going.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And you meant 255, not 1, right? (My color selector is not using transparency so it was already 255.) Tried 0, 1, 255, and several other values and other than 0 not showing anything at all (as expected) the same behavior occurs (works and fails randomly.)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2011 17:40:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/setting-the-color-of-a-textsymbol/m-p/28686#M753</guid>
      <dc:creator>GeorgeFaraj</dc:creator>
      <dc:date>2011-11-16T17:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: Setting the Color of a TextSymbol</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/setting-the-color-of-a-textsymbol/m-p/28687#M754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Charles,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you provide some information regarding the values you are passing to your method, I will try to reproduce the issue. Either attach a zipped shapefile of the layer, or a description of it from which to create a dummy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this used in an Add-In?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2011 20:02:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/setting-the-color-of-a-textsymbol/m-p/28687#M754</guid>
      <dc:creator>JeffreyHamblin</dc:creator>
      <dc:date>2011-11-16T20:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Setting the Color of a TextSymbol</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/setting-the-color-of-a-textsymbol/m-p/28688#M755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;If you provide some information regarding the values you are passing to your method, I will try to reproduce the issue.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Got it. I hope. I was converting the System.Drawing.Color that a control was giving me using ToArgb() instead of the function I had already written to extract all the pieces separately:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public static int ConvertColorToRGB( System.Drawing.Color sourceColor ) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IRgbColor targetColor = new RgbColorClass();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; targetColor.Red = sourceColor.R;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; targetColor.Green = sourceColor.G;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; targetColor.Blue = sourceColor.B;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; targetColor.Transparency = sourceColor.A;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return targetColor.RGB;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why should there be a difference between System.Drawing.Color.ToArgb() and the preceding code?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:09:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/setting-the-color-of-a-textsymbol/m-p/28688#M755</guid>
      <dc:creator>GeorgeFaraj</dc:creator>
      <dc:date>2021-12-10T21:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: Setting the Color of a TextSymbol</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/setting-the-color-of-a-textsymbol/m-p/28689#M756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;Why should there be a difference between System.Drawing.Color.ToArgb() and the preceding code?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The byte-ordering of the 32-bit ARGB value produced by &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;System.Drawing.Color.ToArgb()&lt;/SPAN&gt;&lt;SPAN&gt; is AARRGGBB.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The order for &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;IColor.RGB&lt;/SPAN&gt;&lt;SPAN&gt; is 00BBGGRR. The 00 byte is not used. So not only is the order reversed, but there is no Alpha (transparency) in the ESRI integer color.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So you will get very different colors assigning one to the other.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2011 22:29:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/setting-the-color-of-a-textsymbol/m-p/28689#M756</guid>
      <dc:creator>JeffreyHamblin</dc:creator>
      <dc:date>2011-11-16T22:29:27Z</dc:date>
    </item>
  </channel>
</rss>

