Returns the width and height of the glyph. The width of the text glyph will be the maximum width of the font.
[Visual Basic 6.0] Sub QueryDimensions(
Width As Single, _
Height As Single _
)
[Visual Basic .NET]
Public Sub QueryDimensions ( _
ByRef Width As Single&, _
ByRef Height As Single& _
)
[C#] public void QueryDimensions ( ref Single& Width, ref Single& Height );
[Java] public void queryDimensions ( Single& Width, Single& Height ) throws IOException, AutomationException
[C++]
HRESULT QueryDimensions(
float* Width,
float* Height
);
Parameters
Width [in, out]
Width is a parameter of type float
Height [in, out]
Height is a parameter of type float