ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX.DirectWrite Namespace / TextLayout Class / GetFontStyle Method / GetFontStyle(Int32,TextRange) Method

In This Topic
    GetFontStyle(Int32,TextRange) Method
    In This Topic
    HRESULT IDWriteTextLayout::GetFontStyle([In] unsigned int currentPosition,[Out] DWRITE_FONT_STYLE* fontStyle,[Out, Optional] DWRITE_TEXT_RANGE* textRange)
    Syntax
    'Declaration
     
    Public Overloads Function GetFontStyle( _
       ByVal currentPosition As Integer, _
       ByRef textRange As TextRange _
    ) As FontStyle
    public FontStyle GetFontStyle( 
       int currentPosition,
       out TextRange textRange
    )

    Parameters

    currentPosition
    textRange
    See Also