ArcGIS Pro 2.8 API Reference Guide
SetStyleID Method

ArcGIS.Core.Data.Mapping Namespace > DimensionFeature Class : SetStyleID Method
The style ID for the feature.
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 10, Windows 8.1

See Also

Reference

DimensionFeature Class
DimensionFeature Members