<?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 Updating Maplex Properties in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/updating-maplex-properties/m-p/87521#M2289</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am looking for a way to set the label engine of a map document (Standard vs Maplex) programmatically using c#.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have seen an older sample that uses VBA but the setting does is not persisted when I open the file using ArcMap.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://edndoc.esri.com//arcobjects/9.2/CPP_VB6_VBA_VCPP_Doc/COM_Samples_Docs/Maplex/76a27701-4ae3-44ce-8935-772863ca0184.htm"&gt;http://edndoc.esri.com//arcobjects/9.2/CPP_VB6_VBA_VCPP_Doc/COM_Samples_Docs/Maplex/76a27701-4ae3-44ce-8935-772863ca0184.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is what I am currently trying ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;IMaplexAnnotateMap maplex_annotate_map = new MaplexAnnotateMapClass();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;map.AnnotationEngine = maplex_annotate_map as IAnnotateMap;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any assistance would be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;** Update **&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am able to get the map to recognize the change in labeling engine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is that no changes made to the properties of my IMaplexOverposterLayerProperties instance are there when I open/utilize the Mxd.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone have any working examples for programmatically making changes to this interface?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In particular, I am trying to use "esriMaplexPolygonPlacementMethod.esriMaplexRepeatAlongBoundary".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have created the desired rendering in Desktop and compared the values of the interfaces.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I open the mxd in ArcMap, only default values are set.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Dec 2013 18:08:37 GMT</pubDate>
    <dc:creator>MichaelFaulcon1</dc:creator>
    <dc:date>2013-12-16T18:08:37Z</dc:date>
    <item>
      <title>Updating Maplex Properties</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/updating-maplex-properties/m-p/87521#M2289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am looking for a way to set the label engine of a map document (Standard vs Maplex) programmatically using c#.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have seen an older sample that uses VBA but the setting does is not persisted when I open the file using ArcMap.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://edndoc.esri.com//arcobjects/9.2/CPP_VB6_VBA_VCPP_Doc/COM_Samples_Docs/Maplex/76a27701-4ae3-44ce-8935-772863ca0184.htm"&gt;http://edndoc.esri.com//arcobjects/9.2/CPP_VB6_VBA_VCPP_Doc/COM_Samples_Docs/Maplex/76a27701-4ae3-44ce-8935-772863ca0184.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is what I am currently trying ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;IMaplexAnnotateMap maplex_annotate_map = new MaplexAnnotateMapClass();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;map.AnnotationEngine = maplex_annotate_map as IAnnotateMap;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any assistance would be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;** Update **&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am able to get the map to recognize the change in labeling engine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is that no changes made to the properties of my IMaplexOverposterLayerProperties instance are there when I open/utilize the Mxd.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone have any working examples for programmatically making changes to this interface?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In particular, I am trying to use "esriMaplexPolygonPlacementMethod.esriMaplexRepeatAlongBoundary".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have created the desired rendering in Desktop and compared the values of the interfaces.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I open the mxd in ArcMap, only default values are set.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2013 18:08:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/updating-maplex-properties/m-p/87521#M2289</guid>
      <dc:creator>MichaelFaulcon1</dc:creator>
      <dc:date>2013-12-16T18:08:37Z</dc:date>
    </item>
  </channel>
</rss>

