ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Data.Mapping Namespace / DimensionFeature Class / SetStyleID Method
The style ID for the feature.

In This Topic
    SetStyleID Method
    In This Topic
    Sets the style ID for the dimension feature. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public void SetStyleID( 
       int styleID
    )
    Public Sub SetStyleID( _
       ByVal styleID As Integer _
    ) 

    Parameters

    styleID
    The style ID for the feature.
    Exceptions
    ExceptionDescription
    A geodatabase-related exception occured.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also