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


IDynamicSymbolProperties.GetScale Method (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > ID > IDynamicSymbolProperties Interface > IDynamicSymbolProperties.GetScale Method
ArcGIS Developer Help

IDynamicSymbolProperties.GetScale Method

Scales the dynamic symbol.

[Visual Basic .NET]
Public Sub GetScale ( _
    ByVal dynamicSymbolType As esriDynamicSymbolType, _
    ByRef scaleX As Single&, _
    ByRef scaleY As Single& _
)
[C#]
public void GetScale (
    esriDynamicSymbolType dynamicSymbolType,
    ref Single& scaleX,
    ref Single& scaleY
);
[C++]
HRESULT GetScale(
  esriDynamicSymbolType dynamicSymbolType,
  System.Single* scaleX,
  System.Single* scaleY
);
[C++]
Parameters
dynamicSymbolType [in]

dynamicSymbolType is a parameter of type esriDynamicSymbolType scaleX [in, out]
scaleX is a parameter of type single* scaleY [in, out]
scaleY is a parameter of type single*

Product Availability

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

Description

Gets the current relative scale for the specified dynamic symbol (text, marker, line, fill).

Remarks

The scale attribute can be used in order to reuse a glyph, and render it in different sizes, rather than creating a different glyph for each different size. This is recommended in order to minimize graphic resources usage.

See Also

IDynamicSymbolProperties Interface