Adds a RenderObject to the Body of the current document at a specific position on the current page, and resolves it.

This method can only be used if IsStartEndDocMode is true.

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

Syntax

C#
public bool RenderDirect(
	Unit x,
	Unit y,
	RenderObject ro
)
Visual Basic
Public Function RenderDirect ( _
	x As Unit, _
	y As Unit, _
	ro As RenderObject _
) As Boolean

Parameters

x
Type: C1.C1Preview..::..Unit
The horizontal (X) coordinate at which to render the object (cannot be auto).
y
Type: C1.C1Preview..::..Unit
The vertical (Y) coordinate at which to render the object (cannot be auto).
ro
Type: C1.C1Preview..::..RenderObject
The RenderObject object to render.

Return Value

true if no warnings were generated by this call, false otherwise.

Remarks

The specified coordinates (x and y) are assigned to the X and Y properties of the passed object.

As all other RenderBlock..., RenderDirect... and RenderInline... methods, This method can only be used between calls to StartDoc()()()() and EndDoc()()()() on the current document, i.e. when the IsStartEndDocMode property is true.

Do not use this method if the document is generated with a call to the Generate()()()() method.

See Also