Creates an internally maintained RenderGraphics object that can be used to add graphics at a specific position to the Body of the document on the current page.

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

Syntax

C#
public void RenderDirectGraphicsBegin(
	Unit x,
	Unit y
)
Visual Basic
Public Sub RenderDirectGraphicsBegin ( _
	x As Unit, _
	y As Unit _
)

Parameters

x
Type: C1.C1Preview..::..Unit
The horizontal (X) coordinate on the current page.
y
Type: C1.C1Preview..::..Unit
The vertical (Y) coordinate on the current page.

Remarks

Between the calls to this method and RenderDirectGraphicsEnd()()()(), use CurrentDirectRenderGraphics property to access the RenderGraphics object that can be used to draw on.

This method throws an exception if a call to RenderDirectGraphicsBegin without a matching call to RenderDirectGraphicsEnd()()()() has already been issued.

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

See Also