ArcObjects Library Reference (Display)  

IDynamicGlyphFactory.DynamicGlyph Property

Retrieves a dynamic glyph from a glyph group.

[Visual Basic .NET]
Public Function get_DynamicGlyph ( _
    ByVal groupId As Integer, _
    ByVal GlyphType As esriDynamicGlyphType, _
    ByVal index As Integer _
) As IDynamicGlyph
[C#]
public IDynamicGlyph get_DynamicGlyph (
    int groupId,
    esriDynamicGlyphType GlyphType,
    int index
);
[C++]
HRESULT get_DynamicGlyph(
  long groupId,
  esriDynamicGlyphType GlyphType,
  long index,
  IDynamicGlyph** glyph
);
[C++]

Parameters

groupId [in]   groupId is a parameter of type long GlyphType [in]

  GlyphType is a parameter of type esriDynamicGlyphType

index [in]   index is a parameter of type long glyph [out, retval]

  glyph is a parameter of type IDynamicGlyph

Product Availability

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

Remarks

Performance wise, it is preferable to create a Glyph Group with multiple glyphs, and use the glyphs from the group, rather than creating glyphs from individual image files.

Dynamic Glyph created from GroupID 1 is reserved for the Default Glyphs Group.

Dynamic Glyph created from GroupID 0 (or a null dynamic glyph) refers to rendering without using an actual graphical resource, meaning simple lines, simple points, etc.

See Also

IDynamicGlyphFactory Interface

.NET Samples

Dynamic biking (Code Files: DynamicBikingCmd) | Dynamic display layer (Code Files: MyDynamicLayerClass) |