[]
        
(Showing Draft Content)

C1.Word.C1WordDocument.GetParagraph

GetParagraph Method

GetParagraph(Font)

Get paragraph with the empty text and string format for this document.

Declaration
public RtfParagraph GetParagraph(Font font)
Parameters
Type Name Description
Font font

The drawing font.

Returns
Type Description
RtfParagraph

GetParagraph(string)

Get paragraph for the text for this document.

Declaration
public RtfParagraph GetParagraph(string text)
Parameters
Type Name Description
string text

The text string of the paragraph.

Returns
Type Description
RtfParagraph

The paragraph for this document

GetParagraph(string, Font)

Get paragraph for the text for this document.

Declaration
public RtfParagraph GetParagraph(string text, Font font)
Parameters
Type Name Description
string text

The text string of the paragraph.

Font font

The drawing font for the text.

Returns
Type Description
RtfParagraph

The paragraph for this document

GetParagraph(string, StringFormat)

Get paragraph for the text and string format for this document.

Declaration
public RtfParagraph GetParagraph(string text, StringFormat sf)
Parameters
Type Name Description
string text

The text string of the paragraph.

StringFormat sf

The drawing string format.

Returns
Type Description
RtfParagraph

The paragraph for this document

GetParagraph(string, Font, StringFormat)

Get paragraph for the text and string format for this document.

Declaration
public RtfParagraph GetParagraph(string text, Font font, StringFormat sf)
Parameters
Type Name Description
string text

The text string of the paragraph.

Font font

The drawing font for the text.

StringFormat sf

The drawing string format.

Returns
Type Description
RtfParagraph

The paragraph for this document

GetParagraph(string, StringFormat, float)

Get paragraph for the text and string format for this document.

Declaration
public RtfParagraph GetParagraph(string text, StringFormat sf, float expand)
Parameters
Type Name Description
string text

The text string of the paragraph.

StringFormat sf

The drawing string format.

float expand

The value in points for expand (+) or packed (-).

Returns
Type Description
RtfParagraph

The paragraph for this document

GetParagraph(string, Font, StringFormat, float)

Get paragraph for the text and string format for this document.

Declaration
public RtfParagraph GetParagraph(string text, Font font, StringFormat sf, float expand)
Parameters
Type Name Description
string text

The text string of the paragraph.

Font font

The drawing font for the text.

StringFormat sf

The drawing string format.

float expand

The value in points for expand (+) or packed (-).

Returns
Type Description
RtfParagraph

The paragraph for this document