<?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 Set symbol in the FeatureLayer? in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/set-symbol-in-the-featurelayer/m-p/440742#M11967</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear all &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have an image (icon) to use as a symbol in the featureLayer,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and need to rotate it&amp;nbsp; according to time.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How to set this image on the FeatureLayer or Feature ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for any response.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 29 May 2010 09:53:06 GMT</pubDate>
    <dc:creator>weilunyi</dc:creator>
    <dc:date>2010-05-29T09:53:06Z</dc:date>
    <item>
      <title>Set symbol in the FeatureLayer?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/set-symbol-in-the-featurelayer/m-p/440742#M11967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear all &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have an image (icon) to use as a symbol in the featureLayer,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and need to rotate it&amp;nbsp; according to time.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How to set this image on the FeatureLayer or Feature ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for any response.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 May 2010 09:53:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/set-symbol-in-the-featurelayer/m-p/440742#M11967</guid>
      <dc:creator>weilunyi</dc:creator>
      <dc:date>2010-05-29T09:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: Set symbol in the FeatureLayer?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/set-symbol-in-the-featurelayer/m-p/440743#M11968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think I get the answer that is using "IGeoFeatureLayer"&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
ESRI::ArcGIS::Carto::IFeatureLayer^ GetSymbol(ESRI::ArcGIS::Carto::IFeatureLayer^ featureLayer,double angle)
{
 IPictureMarkerSymbol^ picMSymbol = gcnew PictureMarkerSymbolClass();
 String^ picPath= "D:\\Ac33.bmp" ;
 picMSymbol-&amp;gt;Size = 30 ;
 picMSymbol-&amp;gt;Angle= angle ;
 picMSymbol-&amp;gt;CreateMarkerSymbolFromFile(esriIPictureType::esriIPictureBitmap,picPath);
 picMSymbol-&amp;gt;BitmapTransparencyColor = GetRgbColor(255,255,255) ;

 ISimpleRenderer^ render = gcnew SimpleRendererClass() ;
 render-&amp;gt;Symbol = (ISymbol^)picMSymbol ;

 IGeoFeatureLayer^ geoPointFeatureLayer =(IGeoFeatureLayer^)featureLayer ;
 geoPointFeatureLayer-&amp;gt;Renderer = (IFeatureRenderer^)render&amp;nbsp; ;

 return (IFeatureLayer^)geoPointFeatureLayer ;
}
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 19:43:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/set-symbol-in-the-featurelayer/m-p/440743#M11968</guid>
      <dc:creator>weilunyi</dc:creator>
      <dc:date>2021-12-11T19:43:56Z</dc:date>
    </item>
  </channel>
</rss>

