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


IDynamicGlyphFactory.LoadDynamicGlyphsGroup Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Display)  

IDynamicGlyphFactory.LoadDynamicGlyphsGroup Method

Loads a dynamic glyph group from files.

[Visual Basic .NET]
Public Function LoadDynamicGlyphsGroup ( _
    ByVal fileName As String _
) As Integer
[C#]
public int LoadDynamicGlyphsGroup (
    string fileName
);
[C++]
HRESULT LoadDynamicGlyphsGroup(
  BSTR fileName,
  long* groupId
);
[C++]

Parameters fileName [in] fileName is a parameter of type BSTR groupId [out, retval] groupId is a parameter of type long

Product Availability

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

Remarks

The fileName points to an XML file. This XML file holds information regarding the image files that should be used in order to load the group image, and a database that describes the identity, location, and size of the glyphs in the group.

On success, the method returns the ID of the loaded group. This ID can be used to get a dynamic glyph from the group, using the get property IDynamicGlyphFactory.DynamicGlyph, or unload the glyphs group, using the method IDynamicGlyphFactory.UnloadDynamicGlyphsGroup.

See Also

IDynamicGlyphFactory Interface