<?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 do I get display styles from an MXD file? in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-do-i-get-display-styles-from-an-mxd-file/m-p/670153#M17960</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to read the style information using ArcObjects outside of any ArcGIS application (i.e., my application is not an ArcMap or ArcCatalog extension), so I am looking for the classes or interfaces I need to use.&amp;nbsp; I can open the .mxd file and read the feature classes, spatial references, etc., but I have not been able to figure out how to read style information.&amp;nbsp; The documentation says that styles are stored in the .mxd file, but I can't figure out how to get them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Jul 2010 11:23:34 GMT</pubDate>
    <dc:creator>BobCave</dc:creator>
    <dc:date>2010-07-19T11:23:34Z</dc:date>
    <item>
      <title>How do I get display styles from an MXD file?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-do-i-get-display-styles-from-an-mxd-file/m-p/670151#M17958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have written some ArcObjects code to get the maps, layers, feature classes, geometry, attributes, etc. from an .mxd file (using a MapDocument object).&amp;nbsp; I also need to get the style information (colors, line styles, etc.).&amp;nbsp; I have been looking through the ArcObjects documentation, but I can't figure out where I can access that information.&amp;nbsp; It seems like it ought to be associated with the layer in some way, but I can't find it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can someone please point me in the right direction?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jul 2010 19:50:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-do-i-get-display-styles-from-an-mxd-file/m-p/670151#M17958</guid>
      <dc:creator>BobCave</dc:creator>
      <dc:date>2010-07-16T19:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get display styles from an MXD file?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-do-i-get-display-styles-from-an-mxd-file/m-p/670152#M17959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Bob,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In ArcGIS 10 if you go to Customize -&amp;gt; Style Manager you can see the Styles that are currently in use with your MXD. Here you can also create a new style by clicking on Styles... and then Create New Style. Often if your data is specific to a particular database you should just create your own style and add it to the styles when needed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can do the same thing in 9.3 with Tools -&amp;gt; Styles -&amp;gt; Styles Manager.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;G&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jul 2010 20:41:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-do-i-get-display-styles-from-an-mxd-file/m-p/670152#M17959</guid>
      <dc:creator>GregRieck</dc:creator>
      <dc:date>2010-07-16T20:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get display styles from an MXD file?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-do-i-get-display-styles-from-an-mxd-file/m-p/670153#M17960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to read the style information using ArcObjects outside of any ArcGIS application (i.e., my application is not an ArcMap or ArcCatalog extension), so I am looking for the classes or interfaces I need to use.&amp;nbsp; I can open the .mxd file and read the feature classes, spatial references, etc., but I have not been able to figure out how to read style information.&amp;nbsp; The documentation says that styles are stored in the .mxd file, but I can't figure out how to get them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jul 2010 11:23:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-do-i-get-display-styles-from-an-mxd-file/m-p/670153#M17960</guid>
      <dc:creator>BobCave</dc:creator>
      <dc:date>2010-07-19T11:23:34Z</dc:date>
    </item>
  </channel>
</rss>

