ComponentOne Bitmap for UWP
GetFontStyle(Int32) Method

C1.UWP.DX Assembly > C1.Util.DX.DirectWrite Namespace > TextLayout Class > GetFontStyle Method : GetFontStyle(Int32) Method
The position of the text to inspect.
Gets the font style (also known as slope) of the text at the specified position.
Syntax
'Declaration
 
Public Overloads Function GetFontStyle( _
   ByVal currentPosition As System.Integer _
) As FontStyle
public FontStyle GetFontStyle( 
   System.int currentPosition
)

Parameters

currentPosition
The position of the text to inspect.

Return Value

a value which indicates the type of font style (also known as slope or incline) being applied at the specified position.
See Also

Reference

TextLayout Class
TextLayout Members
Overload List