ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 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 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