[]
        
(Showing Draft Content)

C1.C1Preview.C1PrintDocument.RenderDirectRichText

RenderDirectRichText Method

RenderDirectRichText(Unit, Unit, string, object, object, Style)

Adds an RTF-formatted string to the Body of the current document at a specific position on the current page, and resolves it.

Declaration
public void RenderDirectRichText(Unit x, Unit y, string rtf, object width, object height, Style style)
Parameters
Type Name Description
Unit x

The horizontal (X) coordinate at which to render the text (cannot be auto).

Unit y

The vertical (Y) coordinate at which to render the text (cannot be auto).

string rtf

The RTF-formatted string to render.

object width

The width of the text area (cannot be null or auto).

object height

The height of the text area (can be null, in which case Auto is used).

Style style

The Style to use, or null.

Remarks

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

See Also

RenderDirectRichText(Unit, Unit, string, object)

Adds an RTF-formatted string to the Body of the current document at a specific position on the current page with auto height, and resolves it.

Declaration
public void RenderDirectRichText(Unit x, Unit y, string rtf, object width)
Parameters
Type Name Description
Unit x

The horizontal (X) coordinate at which to render the text (cannot be auto).

Unit y

The vertical (Y) coordinate at which to render the text (cannot be auto).

string rtf

The RTF-formatted string to render.

object width

The width of the text area (cannot be null or auto).

Remarks

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

See Also