This document is archived and information here might be outdated. Recommended version. |
Creates a dynamic glyph from a file.
[Visual Basic .NET] Public Function CreateDynamicGlyphFromFile ( _ ByVal GlyphType As esriDynamicGlyphType, _ ByVal fileName As String, _ ByVal transparencyColor As IColor _ ) As IDynamicGlyph
[C#] public IDynamicGlyph CreateDynamicGlyphFromFile ( esriDynamicGlyphType GlyphType, string fileName, IColor transparencyColor );
[C++]
HRESULT CreateDynamicGlyphFromFile(
esriDynamicGlyphType GlyphType,
BSTR fileName,
IColor* transparencyColor
);
[C++] Parameters GlyphType [in]
GlyphType is a parameter of type esriDynamicGlyphType fileName [in]
fileName is a parameter of type BSTR transparencyColor [in]
transparencyColor is a parameter of type IColor*
Creates a dynamic glyph from an image file. If the image file consists of an alpha channel, the method will honor the alpha values in the alpha channel, otherwise the alpha values will be set to be opaque (255). If the transparency color is not NULL, each pixel that matches the transparencyColor parameter will be transparent (its alpha values in the glyph will be set to 0).