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

Namespace:  C1.C1Preview
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public void RenderDirectRichText(
	Unit x,
	Unit y,
	string rtf,
	Object width,
	Object height,
	Style style
)
Visual Basic
Public Sub RenderDirectRichText ( _
	x As Unit, _
	y As Unit, _
	rtf As String, _
	width As Object, _
	height As Object, _
	style As Style _
)

Parameters

x
Type: C1.C1Preview..::..Unit
The horizontal (X) coordinate at which to render the text (cannot be auto).
y
Type: C1.C1Preview..::..Unit
The vertical (Y) coordinate at which to render the text (cannot be auto).
rtf
Type: System..::..String
The RTF-formatted string to render.
width
Type: System..::..Object
The width of the text area (cannot be null or auto).
height
Type: System..::..Object
The height of the text area (can be null, in which case Auto is used).
style
Type: C1.C1Preview..::..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