[]
        
(Showing Draft Content)

C1.C1Word.C1WordDocument.GetParagraph

GetParagraph Method

GetParagraph(Font)

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

Declaration
public RtfParagraph GetParagraph(Font font)
Public Function GetParagraph(font As Font) As RtfParagraph
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)
Public Function GetParagraph(text As String) As RtfParagraph
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)
Public Function GetParagraph(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 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)
Public Function GetParagraph(text As String, sf As StringFormat) As RtfParagraph
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)
Public Function GetParagraph(text As String, font As Font, sf As StringFormat) As RtfParagraph
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)
Public Function GetParagraph(text As String, sf As StringFormat, expand As Single) As RtfParagraph
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)
Public Function GetParagraph(text As String, font As Font, sf As StringFormat, expand As Single) As RtfParagraph
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