ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / SymbolFactory Class / ShapeTypeSupportedWithRulePackage Method
The layer to check the shapetype of

In This Topic
    ShapeTypeSupportedWithRulePackage Method (SymbolFactory)
    In This Topic
    Checks if the underlying shape type of the layer features is supported for use with rule package renderers. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public bool ShapeTypeSupportedWithRulePackage( 
       FeatureLayer featureLayer
    )
    Public Function ShapeTypeSupportedWithRulePackage( _
       ByVal featureLayer As FeatureLayer _
    ) As Boolean

    Parameters

    featureLayer
    The layer to check the shapetype of

    Return Value

    bool
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Remarks
    Point, Polygon, and Multipatch shape types are supported.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also