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


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

IDynamicSymbolProperties.SetScale Method

Scales the dynamic symbol.

[Visual Basic .NET]
Public Sub SetScale ( _
    ByVal dynamicSymbolType As esriDynamicSymbolType, _
    ByVal scaleX As Single, _
    ByVal scaleY As Single _
)
[C#]
public void SetScale (
    esriDynamicSymbolType dynamicSymbolType,
    float scaleX,
    float scaleY
);
[C++]
HRESULT SetScale(
  esriDynamicSymbolType dynamicSymbolType,
  float scaleX,
  float scaleY
);
[C++]
Parameters
dynamicSymbolType [in]

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

Product Availability

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

Description

Sets 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

.NET Samples

Dynamic biking Dynamic logo