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


IDynamicGlyphFactory2.GetCreatedDynamicGlyphSize Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Display)  

IDynamicGlyphFactory2.GetCreatedDynamicGlyphSize Method

Indicates the texture size of the created dynamic glyph.

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

Parameters GlyphType [in]
GlyphType is a parameter of type esriDynamicGlyphType sizeX [in, out] sizeX is a parameter of type long sizeY [in, out] 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