[]
        
(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)
Public Overridable Sub Draw(graphics As Graphics, boundsPx As Rectangle, parentContentBoundsPx As Rectangle, renderChildren As Boolean, pdp As PageDrawParams)
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)
Public Sub Draw(graphics As Graphics, boundsPx As Rectangle, parentContentBoundsPx As Rectangle, renderInputControls As Boolean, renderChildren As Boolean, writeMetafileComments As Boolean)
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)
Public Sub Draw(graphics As Graphics, parentContentBoundsPx As Rectangle, renderInputControls As Boolean)
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)
Public Sub Draw(graphics As Graphics, parentContentBoundsPx As Rectangle, renderInputControls As Boolean, writeMetafileComments As Boolean)
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)
Public Sub Draw(graphics As Graphics, renderInputControls As Boolean)
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.