Returns the width and height, in pixels, of the glyph. The width of the text glyph will be the width of the space character.
[Visual Basic .NET]
Public Sub QueryDimensions ( _
ByRef Width As Single&, _
ByRef Height As Single& _
)
[C#] public void QueryDimensions ( ref Single& Width, ref Single& Height );
[C++]
HRESULT QueryDimensions(
float* Width,
float* Height
);
[C++]Parameters
Width [in, out] Width is a parameter of type float Height [in, out] Height is a parameter of type float
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Remarks
Retrieves the Dynamic Glyphs actual size in pixels.
For Dynamic Text Glyphs, the height is the height of the font, and the width is the width of the space character. Use IDynamicSymbolProperties2.GetTextSize method to get the actual pixel size of a specific string (with a specific Dynamic Text Symbol).