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


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

    Parameters

    c
    The Color to apply.

    Return Value

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