ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX.DirectWrite Namespace / TextLayout Class / GetFontStyle Method / GetFontStyle(Int32) Method
The position of the text to inspect.

In This Topic
    GetFontStyle(Int32) Method
    In This Topic
    Gets the font style (also known as slope) of the text at the specified position.
    Syntax
    'Declaration
     
    Public Overloads Function GetFontStyle( _
       ByVal currentPosition As Integer _
    ) As FontStyle
    public FontStyle GetFontStyle( 
       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