Xceed Words for .NET v5.0 Documentation
Xceed.Document.NET Assembly / Xceed.Document.NET Namespace / Paragraph Class / FontSize Method
The font size to apply.


In This Topic
    FontSize Method
    In This Topic
    Applies the provided font size to the last appended text.
    Syntax
    'Declaration
     
    Public Function FontSize( _
       ByVal fontSize As Double _
    ) As Paragraph
    'Usage
     
    Dim instance As Paragraph
    Dim fontSize As Double
    Dim value As Paragraph
     
    value = instance.FontSize(fontSize)
    public Paragraph FontSize( 
       double fontSize
    )

    Parameters

    fontSize
    The font size to apply.

    Return Value

    This Paragraph with the last appended text's font size 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