GetFontSize(Int32) Method
Gets the font em height of the text at the specified position.
public System.float GetFontSize(
System.int
)
'Declaration
Public Overloads Function GetFontSize( _
ByVal 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.