This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > ID > IDynamicGlyphFactory Interface > IDynamicGlyphFactory.LoadDynamicGlyphsGroup Method (ArcObjects .NET 10.4 SDK) |
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
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.