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 > IMapServerSublayer Interface > IMapServerSublayer.ScaleSymbols Property (ArcObjects .NET 10.5 SDK) |
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* ScaleSymbols
);
[C++]
HRESULT put_ScaleSymbols(
VARIANT_BOOL ScaleSymbols
);
[C++]
Parameters ScaleSymbols [out, retval] ScaleSymbols is a parameter of type VARIANT_BOOL ScaleSymbols [in] ScaleSymbols is a parameter of type VARIANT_BOOL
A reference scale set for a map containing a Map Server object will have no effect on Map Server layer symbology. In order for symbols to scale, the originial map document on which the Map Server object is based must have a reference scale set. The Map layer must also support symbol scaling. If both these conditions are true, use ScaleSymbols to activate or deactivate a Map Server Sublayer's symbol scaling.