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

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

IDynamicGlyphFactory.DeleteDynamicGlyph Method

Deletes the dynamic glyph's resource.

[Visual Basic .NET]
Public Sub DeleteDynamicGlyph ( _
    ByVal glyph As IDynamicGlyph _
public void DeleteDynamicGlyph (
    IDynamicGlyph glyph
HRESULT DeleteDynamicGlyph(
  IDynamicGlyph* glyph
glyph [in]

glyph is a parameter of type IDynamicGlyph*

Product Availability

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


It is important to call this method in order to release the Dynamic Glyph�s resources. A Dynamic Glyph object that is destroyed without calling this method might result in memory leaks on the graphic card memory. Also, it is recommended to delete unused Dynamic Glyphs in order to free up Graphic Card memory.

See Also

IDynamicGlyphFactory Interface