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


ILayerDescription.ScaleSymbols Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILayerDescription Interface > ILayerDescription.ScaleSymbols Property
ArcGIS Developer Help

ILayerDescription.ScaleSymbols Property

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(
  Boolean* Scale
);
[C++]
HRESULT put_ScaleSymbols(
  VARIANT_BOOL Scale
);
[C++]
Parameters
Scale [out, retval]

Scale is a parameter of type bool* Scale [in]
Scale is a parameter of type bool

Product Availability

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

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.

See Also

ILayerDescription Interface