ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / LabelPlacementStyleItem Class
Members Example Version

LabelPlacementStyleItem Class
Represents a label placement saved in a style.
Object Model
LabelPlacementStyleItem ClassCIMLabelPlacementProperties Class
Syntax
public class LabelPlacementStyleItem : StyleItem, System.ComponentModel.INotifyPropertyChanged  
Example
How to search for label placements in a style
public Task<IList<LabelPlacementStyleItem>> GetLabelPlacementsFromStyleAsync(StyleProjectItem style, string searchString)
{
  if (style == null)
    throw new System.ArgumentNullException();

  //Search for standard label placement
  return QueuedTask.Run(() => style.SearchLabelPlacements(StyleItemType.StandardLabelPlacement, searchString));
}
Inheritance Hierarchy

System.Object
   ArcGIS.Desktop.Framework.Contracts.PropertyChangedBase
      ArcGIS.Desktop.Mapping.StyleItem
         ArcGIS.Desktop.Mapping.LabelPlacementStyleItem

Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also