[]
        
(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)
Public Function RenderBlockRichText(rtf As String, width As Object, height As Object, style As Style) As Boolean
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)
Public Function RenderBlockRichText(rtf As String, width As Object) As Boolean
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)
Public Function RenderBlockRichText(rtf As String) As Boolean
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.