This document is archived and information here might be outdated. Recommended version. |
The text size in pixel screen coordinates.
[Visual Basic .NET] Public Sub GetTextSize ( _ ByVal Text As String, _ ByRef sizeX As Single&, _ ByRef sizeY As Single& _ )
[C#] public void GetTextSize ( string Text, ref Single& sizeX, ref Single& sizeY );
[C++]
HRESULT GetTextSize(
BSTR Text,
System.Single* sizeX,
System.Single* sizeY
);
[C++]
Parameters Text [in]
Text is a parameter of type BSTR sizeX [in, out]
sizeX is a parameter of type single* sizeY [in, out]
sizeY is a parameter of type single*
Returns the size of a given text, according to the current state of the internal Dynamic Symbols.