Hello all,I want to control the "View Unplaced Labels" setting in ArcMap programmatically.This feature is somewhat accessible through the ICommandItem interface:
private static ICommandItem ArcMapUI_LabelViewUnplacedCommand
{
get
{
return ArcMapApplicationDocumentCommandBarsFind("esriArcMapUI.LabelViewUnplacedCommand");
}
}
However, I???m looking for a way to explicitly set whether unplaced labels are drawn or not.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().Best regards,Jens