LabelPlacementStyleItem Class
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));
}
Target Platforms: Windows 11, Windows 10
ArcGIS Pro version: 3 or higher.