<?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 control the &amp;amp;quot;View Unplaced Lables&amp;amp;quot; setting in ArcMap programmatically in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-control-the-amp-quot-view-unplaced-lables/m-p/233206#M6065</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to control the "View Unplaced Labels" setting in ArcMap programmatically.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This feature is somewhat accessible through the ICommandItem interface:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
private static ICommandItem ArcMapUI_LabelViewUnplacedCommand
{ 
&amp;nbsp;&amp;nbsp;&amp;nbsp; get 
&amp;nbsp;&amp;nbsp;&amp;nbsp; { 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return ArcMapApplicationDocumentCommandBarsFind("esriArcMapUI.LabelViewUnplacedCommand"); 
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
}
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;However, I???m looking for a way to explicitly set whether unplaced labels are drawn or not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If there is a way to determine the current status of the command item, this will be fine of course, as the status can be toggled by calling ICommandItem.Execute().&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jens&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jun 2012 08:14:24 GMT</pubDate>
    <dc:creator>JensHaffner</dc:creator>
    <dc:date>2012-06-26T08:14:24Z</dc:date>
    <item>
      <title>How to control the &amp;quot;View Unplaced Lables&amp;quot; setting in ArcMap programmatically</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-control-the-amp-quot-view-unplaced-lables/m-p/233206#M6065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to control the "View Unplaced Labels" setting in ArcMap programmatically.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This feature is somewhat accessible through the ICommandItem interface:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
private static ICommandItem ArcMapUI_LabelViewUnplacedCommand
{ 
&amp;nbsp;&amp;nbsp;&amp;nbsp; get 
&amp;nbsp;&amp;nbsp;&amp;nbsp; { 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return ArcMapApplicationDocumentCommandBarsFind("esriArcMapUI.LabelViewUnplacedCommand"); 
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
}
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;However, I???m looking for a way to explicitly set whether unplaced labels are drawn or not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If there is a way to determine the current status of the command item, this will be fine of course, as the status can be toggled by calling ICommandItem.Execute().&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jens&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2012 08:14:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-control-the-amp-quot-view-unplaced-lables/m-p/233206#M6065</guid>
      <dc:creator>JensHaffner</dc:creator>
      <dc:date>2012-06-26T08:14:24Z</dc:date>
    </item>
  </channel>
</rss>

