This document is archived and information here might be outdated.  Recommended version.


IMapLayerInfo2.CanScaleSymbols Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IMapLayerInfo2.CanScaleSymbols Property

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

CanScaleSymbols specifies whether the symbols for this layer will scale when the map�s reference scale property has been set.

Remarks

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.

See Also

IMapLayerInfo2 Interface