ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / LabelPlacementStyleItem Class / LabelPlacement Property
Example

In This Topic
    LabelPlacement Property (LabelPlacementStyleItem)
    In This Topic
    Gets or sets the ArcGIS.Core.CIM.CIMLabelPlacementProperties of the label placement style item.
    Syntax
    public CIMLabelPlacementProperties LabelPlacement {get; set;}
    Public Property LabelPlacement As CIMLabelPlacementProperties
    Exceptions
    ExceptionDescription
    This property must be called within the lambda passed to QueuedTask.Run
    Example
    Get label placement from LabelPlacementStyleItem
    LabelPlacementStyleItem labelPlacementItem = null;
    CIMLabelPlacementProperties labelPlacement = await QueuedTask.Run<CIMLabelPlacementProperties>(() =>
    {
      return labelPlacementItem.LabelPlacement;
    });
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also