ComponentOne Bitmap for UWP
GetFontSize(Int32) Method

C1.UWP.DX Assembly > C1.Util.DX.DirectWrite Namespace > TextLayout Class > GetFontSize Method : GetFontSize(Int32) Method
The position of the text to inspect.
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
public System.float GetFontSize( 
   System.int currentPosition
)

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

Reference

TextLayout Class
TextLayout Members
Overload List