ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / DimensionStyleStyleItem Class / DimensionStyle Property
Example

In This Topic
    DimensionStyle Property
    In This Topic
    Gets or sets the ArcGIS.Core.CIM.CIMDimensionStyle of the dimension style style item.
    Syntax
    public CIMDimensionStyle DimensionStyle {get; set;}
    Public Property DimensionStyle As CIMDimensionStyle
    Exceptions
    ExceptionDescription
    This property must be called within the lambda passed to QueuedTask.Run
    Example
    Get dimension style from DimensionStyleStyleItem
    DimensionStyleStyleItem dimensionStyleStyleItem = null;
    CIMDimensionStyle dimensionStyle = await QueuedTask.Run<CIMDimensionStyle>(() =>
    {
      return dimensionStyleStyleItem.DimensionStyle;
    });
    Get dimension style from DimensionStyleStyleItem
    DimensionStyleStyleItem dimensionStyleStyleItem = null;
    CIMDimensionStyle dimensionStyle = await QueuedTask.Run<CIMDimensionStyle>(() =>
    {
      return dimensionStyleStyleItem.DimensionStyle;
    });
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also