C1.Win.C1DX.4.8 Assembly / C1.Util.DX.DirectWrite Namespace / TextLayout Class / GetFontSize Method / GetFontSize(Int32) Method
The position of the text to inspect.

In This Topic
GetFontSize(Int32) Method
In This Topic
Gets the font em height of the text at the specified position.
Syntax
'Declaration
 
Public Overloads Function GetFontSize( _
   ByVal currentPosition As System.Integer _
) As System.Single
 

Parameters

currentPosition
The position of the text to inspect.

Return Value

the size of the font in ems of the text at the specified position.
See Also