ComponentOne Word for WinForms
C1.C1Word.4.5.2 Assembly / C1.C1Word Namespace / C1WordDocument Class / AddParagraph Method / AddParagraph(String,Font,Color,RtfHorizontalAlignment) Method
The text string of the paragraph.
The drawing font.
The drawing color.
The paragraph alignment.

In This Topic
    AddParagraph(String,Font,Color,RtfHorizontalAlignment) Method
    In This Topic
    Add paragraph into this document in next position.
    Syntax
    'Declaration
     
    Public Overloads Function AddParagraph( _
       ByVal text As System.String, _
       ByVal font As System.Drawing.Font, _
       ByVal clr As System.Drawing.Color, _
       ByVal align As RtfHorizontalAlignment _
    ) As RtfParagraph
    public RtfParagraph AddParagraph( 
       System.string text,
       System.Drawing.Font font,
       System.Drawing.Color clr,
       RtfHorizontalAlignment align
    )

    Parameters

    text
    The text string of the paragraph.
    font
    The drawing font.
    clr
    The drawing color.
    align
    The paragraph alignment.

    Return Value

    The Word/RTF paragraph object.
    See Also