[]
        
(Showing Draft Content)

C1.C1Preview.RenderFragment.Draw

Draw Method

Draw(Graphics, Rectangle, Rectangle, bool, PageDrawParams)

Draws the current fragment on a specified Graphics.

Declaration
public virtual void Draw(Graphics graphics, Rectangle boundsPx, Rectangle parentContentBoundsPx, bool renderChildren, PageDrawParams pdp)
Parameters
Type Name Description
Graphics graphics

The Graphics object to draw on.

Rectangle boundsPx

The draw bounds.

Rectangle parentContentBoundsPx

The paretnt bounds.

bool renderChildren

true to draw child fragments, false to ignore them.

PageDrawParams pdp

Specifies additional parameters of drawing.

Draw(Graphics, Rectangle, Rectangle, bool, bool, bool)

Draws the current fragment on a specified Graphics.

Declaration
public void Draw(Graphics graphics, Rectangle boundsPx, Rectangle parentContentBoundsPx, bool renderInputControls, bool renderChildren, bool writeMetafileComments)
Parameters
Type Name Description
Graphics graphics

The Graphics object to draw on.

Rectangle boundsPx

The draw bounds.

Rectangle parentContentBoundsPx

The paretnt bounds.

bool renderInputControls

true to draw input controls (see RenderInputBase), false to ignore them.

bool renderChildren

true to draw child fragments, false to ignore them.

bool writeMetafileComments

Indicates whether to write metafile comments to graphics: info about anchors, hyperlinks etc.

Draw(Graphics, Rectangle, bool)

Draws the current fragment and its children on a specified Graphics.

Declaration
public void Draw(Graphics graphics, Rectangle parentContentBoundsPx, bool renderInputControls)
Parameters
Type Name Description
Graphics graphics

The Graphics object to draw on.

Rectangle parentContentBoundsPx

The paretnt bounds.

bool renderInputControls

true to draw input controls (see RenderInputBase), false to ignore them.

Draw(Graphics, Rectangle, bool, bool)

Draws the current fragment and its children on a specified Graphics.

Declaration
public void Draw(Graphics graphics, Rectangle parentContentBoundsPx, bool renderInputControls, bool writeMetafileComments)
Parameters
Type Name Description
Graphics graphics

The Graphics object to draw on.

Rectangle parentContentBoundsPx

The paretnt bounds.

bool renderInputControls

true to draw input controls (see RenderInputBase), false to ignore them.

bool writeMetafileComments

true to write metafile comments containing anchors, hyperlinks etc.

Draw(Graphics, bool)

Draws the current fragment and its children on a specified Graphics.

Declaration
public void Draw(Graphics graphics, bool renderInputControls)
Parameters
Type Name Description
Graphics graphics

The Graphics object to draw on.

bool renderInputControls

true to draw input controls (see RenderInputBase), false to ignore them.