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


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

IDynamicGlyphFactory2.SetCreatedDynamicGlyphSize Method

Indicates the texture size of the created dynamic glyph.

[Visual Basic .NET]
Public Sub SetCreatedDynamicGlyphSize ( _
    ByVal GlyphType As esriDynamicGlyphType, _
    ByVal sizeX As Integer, _
    ByVal sizeY As Integer _
)
[C#]
public void SetCreatedDynamicGlyphSize (
    esriDynamicGlyphType GlyphType,
    int sizeX,
    int sizeY
);
[C++]
HRESULT SetCreatedDynamicGlyphSize(
  esriDynamicGlyphType GlyphType,
  long sizeX,
  long sizeY
);
[C++]
Parameters
GlyphType [in]

GlyphType is a parameter of type esriDynamicGlyphType sizeX [in]
sizeX is a parameter of type long sizeY [in]
sizeY is a parameter of type long

Product Availability

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

Remarks

The Created Dynamic Glyph Size values determine the size of the texture that will be created when the CreateDynamicGlyph method will be used. These values need to be a power of two (2, 4, 8, 16, 32, 64, 128, 256, etc). If they are not a power of two, the values will be snapped to the lower power of two values. For example, a value of 33 will be adjusted to be 32.

See Also

IDynamicGlyphFactory2 Interface