[]
        
(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)
Public Function RenderInlineText(text As String, style As Style) As Boolean
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)
Public Function RenderInlineText(text As String, font As Font, textColor As Color) As Boolean
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)
Public Function RenderInlineText(text As String, font As Font) As Boolean
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)
Public Function RenderInlineText(text As String, textColor As Color) As Boolean
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)
Public Function RenderInlineText(text As String, fontStyle As FontStyle) As Boolean
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)
Public Function RenderInlineText(text As String) As Boolean
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