Draws the current fragment on a specified Graphics.

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

Syntax

C#
public virtual void Draw(
	Graphics graphics,
	Rectangle boundsPx,
	Rectangle parentContentBoundsPx,
	bool renderInputControls,
	bool renderChildren,
	bool writeMetafileComments
)
Visual Basic
Public Overridable Sub Draw ( _
	graphics As Graphics, _
	boundsPx As Rectangle, _
	parentContentBoundsPx As Rectangle, _
	renderInputControls As Boolean, _
	renderChildren As Boolean, _
	writeMetafileComments As Boolean _
)

Parameters

graphics
Type: System.Drawing..::..Graphics
The Graphics object to draw on.
boundsPx
Type: System.Drawing..::..Rectangle
The draw bounds.
parentContentBoundsPx
Type: System.Drawing..::..Rectangle
The paretnt bounds.
renderInputControls
Type: System..::..Boolean
true to draw input controls (see RenderInputBase), false to ignore them.
renderChildren
Type: System..::..Boolean
true to draw child fragments, false to ignore them.
writeMetafileComments
Type: System..::..Boolean
Indicates whether to write metafile comments to graphics: info about anchors, hyperlinks etc.

See Also