ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.5.2 Assembly / C1.Util.DX.DirectWrite Namespace / TextLayout Class / GetFontSize Method / GetFontSize(Int32,TextRange) Method

In This Topic
    GetFontSize(Int32,TextRange) Method
    In This Topic
    HRESULT IDWriteTextLayout::GetFontSize([In] unsigned int currentPosition,[Out] float* fontSize,[Out, Optional] DWRITE_TEXT_RANGE* textRange)
    Syntax
    'Declaration
     
    Public Overloads Function GetFontSize( _
       ByVal currentPosition As System.Integer, _
       ByRef textRange As TextRange _
    ) As System.Single
    public System.float GetFontSize( 
       System.int currentPosition,
       out TextRange textRange
    )

    Parameters

    currentPosition
    textRange
    See Also