[]
        
(Showing Draft Content)

C1.C1Preview.C1PrintDocument.RenderBlockRichText

RenderBlockRichText Method

RenderBlockRichText(string, object, object, Style)

Renders the RTF text.

Declaration
public bool RenderBlockRichText(string rtf, object width, object height, Style style)
Parameters
Type Name Description
string rtf

Text to render, can be plain text.

object width

If null then parent width will be used.

object height

If null then autoheight will be used.

Style style

Style of object.

Returns
Type Description
bool

Returns true if no warnings occur during rendering the object.

RenderBlockRichText(string, object)

Renders the RTF text with autoheight.

Declaration
public bool RenderBlockRichText(string rtf, object width)
Parameters
Type Name Description
string rtf

Text to render, can be plain text.

object width

If null then parent width will be used.

Returns
Type Description
bool

Returns true if no warnings occur during rendering the object.

RenderBlockRichText(string)

Renders the RTF text with parent width and autoheight.

Declaration
public bool RenderBlockRichText(string rtf)
Parameters
Type Name Description
string rtf

Text to render, can be plain text.

Returns
Type Description
bool

Returns true if no warnings occur during rendering the object.