This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > ID > IDynamicSymbolProperties2 Interface > IDynamicSymbolProperties2.GetTextSize Method (ArcObjects .NET 10.5 SDK) |
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,
float* sizeX,
float* sizeY
);
[C++]
Parameters Text [in] Text is a parameter of type BSTR sizeX [in, out] sizeX is a parameter of type float sizeY [in, out] sizeY is a parameter of type float
Returns the size of a given text, according to the current state of the internal Dynamic Symbols.