Xceed Words for .NET v5.0 Documentation
Xceed.Document.NET Assembly / Xceed.Document.NET Namespace / Paragraph Class / Font Method / Font(Font) Method
The Font to apply.


In This Topic
    Font(Font) Method
    In This Topic
    Applies the provided Font to the last appended text.
    Syntax
    'Declaration
     
    Public Overloads Function Font( _
       ByVal fontFamily As Font _
    ) As Paragraph
    'Usage
     
    Dim instance As Paragraph
    Dim fontFamily As Font
    Dim value As Paragraph
     
    value = instance.Font(fontFamily)
    public Paragraph Font( 
       Font fontFamily
    )

    Parameters

    fontFamily
    The Font to apply.

    Return Value

    This Paragraph with the last appended text's font changed.
    Remarks
    This method is used with the Append and AppendLine methods.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows, 11, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also