This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapLayerInfo2 Interface > IMapLayerInfo2.CanScaleSymbols Property (ArcObjects .NET 10.5 SDK) |
Indicates if the layer supports symbol scaling.
[Visual Basic .NET] Public ReadOnly Property CanScaleSymbols As Boolean
[C#] public bool CanScaleSymbols {get;}
[C++]
HRESULT get_CanScaleSymbols(
VARIANT_BOOL* canScale
);
[C++]
Parameters canScale [out, retval] canScale is a parameter of type VARIANT_BOOL
CanScaleSymbols specifies whether the symbols for this layer will scale when the map�s reference scale property has been set.
If a reference scale has been set in the map document and the layer supports symbol scaling the value for CanScaleSymbols will be TRUE. If no reference scale has been set in the map document the value will be FALSE. If a reference scale has been set in the map and you want the symbols of some layers to honor the reference scale and the symbols of some layers NOT to honor the reference scale you will need to use ScaleSymbols on ILayerDescription.