[]
        
(Showing Draft Content)

C1.C1Preview.C1PrintDocument.RenderInlineText

RenderInlineText Method

RenderInlineText(string, Style)

Renders a string into the current inline paragraph, using the specified style.

Declaration
public bool RenderInlineText(string text, Style style)
Parameters
Type Name Description
string text

The string to add to the Content of the current inline paragraph.

Style style

The Style to apply to the specified text.

Returns
Type Description
bool

true if no warnings were generated by this call, false otherwise.

Remarks

This method creates a new ParagraphText object with the specified style, and adds it to the current internally maintained RenderParagraph object. A new paragraph is started if there is no current one.

This method can only be used between calls to StartDoc() and EndDoc() methods on the current document. For details, see RenderBlock(RenderObject).

See Also

RenderInlineText(string, Font, Color)

Renders a string into the current inline paragraph, using the specified font and text color.

Declaration
public bool RenderInlineText(string text, Font font, Color textColor)
Parameters
Type Name Description
string text

The string to add to the Content of the current inline paragraph.

Font font

The font to use for the specified text.

Color textColor

The text color to use.

Returns
Type Description
bool

true if no warnings were generated by this call, false otherwise.

Remarks

This method creates a new ParagraphText object with the specified font and color, and adds it to the current internally maintained RenderParagraph object. A new paragraph is started if there is no current one.

This method can only be used between calls to StartDoc() and EndDoc() methods on the current document. For details, see RenderBlock(RenderObject).

See Also

RenderInlineText(string, Font)

Renders a string into the current inline paragraph, using the specified font.

Declaration
public bool RenderInlineText(string text, Font font)
Parameters
Type Name Description
string text

The string to add to the Content of the current inline paragraph.

Font font

The font to use for the specified text.

Returns
Type Description
bool

true if no warnings were generated by this call, false otherwise.

Remarks

This method creates a new ParagraphText object with the specified font, and adds it to the current internally maintained RenderParagraph object. A new paragraph is started if there is no current one.

This method can only be used between calls to StartDoc() and EndDoc() methods on the current document. For details, see RenderBlock(RenderObject).

See Also

RenderInlineText(string, Color)

Renders a string into the current inline paragraph, using the specified text color.

Declaration
public bool RenderInlineText(string text, Color textColor)
Parameters
Type Name Description
string text

The string to add to the Content of the current inline paragraph.

Color textColor

The text color to use.

Returns
Type Description
bool

true if no warnings were generated by this call, false otherwise.

Remarks

This method creates a new ParagraphText object with the specified text color, and adds it to the current internally maintained RenderParagraph object. A new paragraph is started if there is no current one.

This method can only be used between calls to StartDoc() and EndDoc() methods on the current document. For details, see RenderBlock(RenderObject).

See Also

RenderInlineText(string, FontStyle)

Renders a string into the current inline paragraph, using the specified font style.

Declaration
public bool RenderInlineText(string text, FontStyle fontStyle)
Parameters
Type Name Description
string text

The string to add to the Content of the current inline paragraph.

FontStyle fontStyle

The FontStyle to use for the text.

Returns
Type Description
bool

true if no warnings were generated by this call, false otherwise.

Remarks

This method creates a new ParagraphText object with the specified font style, and adds it to the current internally maintained RenderParagraph object. A new paragraph is started if there is no current one.

This method can only be used between calls to StartDoc() and EndDoc() methods on the current document. For details, see RenderBlock(RenderObject).

See Also

RenderInlineText(string)

Renders a string into the current inline paragraph.

Declaration
public bool RenderInlineText(string text)
Parameters
Type Name Description
string text

The string to add to the Content of the current inline paragraph.

Returns
Type Description
bool

true if no warnings were generated by this call, false otherwise.

Remarks

This method creates a new ParagraphText object and adds it to the current internally maintained RenderParagraph object. A new paragraph is started if there is no current one.

This method can only be used between calls to StartDoc() and EndDoc() methods on the current document. For details, see RenderBlock(RenderObject).

See Also