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

In This Topic
    GetFontCollection(Int32) Method
    In This Topic
    Gets the font collection associated with the text at the specified position.
    Syntax
    'Declaration
     
    Public Overloads Function GetFontCollection( _
       ByVal currentPosition As System.Integer _
    ) As FontCollection
    public FontCollection GetFontCollection( 
       System.int currentPosition
    )

    Parameters

    currentPosition
    The position of the text to inspect.

    Return Value

    a reference to the current font collection.
    See Also