[]
        
(Showing Draft Content)

C1.C1Word.C1WordDocument.AddParagraph

AddParagraph Method

AddParagraph(string)

Add paragraph into this document in next position.

Declaration
public RtfParagraph AddParagraph(string text)
Public Function AddParagraph(text As String) As RtfParagraph
Parameters
Type Name Description
string text

The text string of the paragraph.

Returns
Type Description
RtfParagraph

The Word/RTF paragraph object.

AddParagraph(string, Font)

Add paragraph into this document in next position.

Declaration
public RtfParagraph AddParagraph(string text, Font font)
Public Function AddParagraph(text As String, font As Font) As RtfParagraph
Parameters
Type Name Description
string text

The text string of the paragraph.

Font font

The drawing font.

Returns
Type Description
RtfParagraph

The Word/RTF paragraph object.

AddParagraph(string, Font, Color)

Add paragraph into this document in next position.

Declaration
public RtfParagraph AddParagraph(string text, Font font, Color clr)
Public Function AddParagraph(text As String, font As Font, clr As Color) As RtfParagraph
Parameters
Type Name Description
string text

The text string of the paragraph.

Font font

The drawing font.

Color clr

The drawing color.

Returns
Type Description
RtfParagraph

The Word/RTF paragraph object.

AddParagraph(string, Font, Color, RtfHorizontalAlignment)

Add paragraph into this document in next position.

Declaration
public RtfParagraph AddParagraph(string text, Font font, Color clr, RtfHorizontalAlignment align)
Public Function AddParagraph(text As String, font As Font, clr As Color, align As RtfHorizontalAlignment) As RtfParagraph
Parameters
Type Name Description
string text

The text string of the paragraph.

Font font

The drawing font.

Color clr

The drawing color.

RtfHorizontalAlignment align

The paragraph alignment.

Returns
Type Description
RtfParagraph

The Word/RTF paragraph object.