ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Core.CIM Namespace / CIMGeoFeatureLayerBase Class / ScaleSymbols Property
Example

In This Topic
    ScaleSymbols Property (CIMGeoFeatureLayerBase)
    In This Topic
    Gets or sets a value indicating whether to scale the symbols in this layer based on the map's reference scale.
    Syntax
    Public Property ScaleSymbols As Boolean
    public bool ScaleSymbols {get; set;}
    Example
    Toggle "Scale layer symbols when reference scale is set"
    {
        // get the CIM layer definition
        // Note: needs to be called on the MCT
        var cimFeatureLayer = featureLayer.GetDefinition() as ArcGIS.Core.CIM.CIMFeatureLayer;
        // turn on the option to scale the symbols in this layer based in the map's reference scale
        cimFeatureLayer.ScaleSymbols = true;
    }
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also