ArcGIS Pro 3.7 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 Function ShapeTypeSupportedWithRulePackage( _
       ByVal featureLayer As FeatureLayer _
    ) As Boolean
    public bool ShapeTypeSupportedWithRulePackage( 
       FeatureLayer featureLayer
    )

    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 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also