Indicates whether the layer should scale its symbols according to the reference scale.
[Visual Basic .NET] Public Property ScaleSymbols As Boolean
[C#] public bool ScaleSymbols {get; set;}
[C++]
HRESULT get_ScaleSymbols(
VARIANT_BOOL* Scale
);
[C++]
HRESULT put_ScaleSymbols(
VARIANT_BOOL Scale
);
[C++]Parameters
Scale [out, retval] Scale is a parameter of type VARIANT_BOOL Scale [in] Scale is a parameter of type VARIANT_BOOL
Product Availability
Remarks
In order for symbols to scale, the map must have a reference scale set and the layer must support symbol scaling. Use ScaleSymbols to activate or deactivate a layer's symbol scaling. If a map does not have a set reference scale setting, ScaleSymbols will have no effect. Use CanScaleSymbols on IMapLayerInfo2 to verify if a layer supports symbol scaling. A reference scale is set within the original map document.
You can set a new reference scale for the MapServer object by accessing the IMap interface through IMapServerObjects2. This should be done with objects in a non-pooled environment. Changing the state of pooled objects this way will lead to unexpected results.