ComponentOne ReportViewer for ASP.NET Web Forms
C1.C1Report.4 Assembly / C1.C1Preview Namespace / RenderFragment Class / Draw Method / Draw(Graphics,Rectangle,Rectangle,Boolean,Boolean,Boolean) Method
The System.Drawing.Graphics object to draw on.
The draw bounds.
The paretnt bounds.
true to draw input controls (see RenderInputBase), false to ignore them.
true to draw child fragments, false to ignore them.
Indicates whether to write metafile comments to graphics: info about anchors, hyperlinks etc.

In This Topic
    Draw(Graphics,Rectangle,Rectangle,Boolean,Boolean,Boolean) Method
    In This Topic
    Draws the current fragment on a specified System.Drawing.Graphics.
    Syntax
    'Declaration
     
    Public Overloads Sub Draw( _
       ByVal graphics As System.Drawing.Graphics, _
       ByVal boundsPx As System.Drawing.Rectangle, _
       ByVal parentContentBoundsPx As System.Drawing.Rectangle, _
       ByVal renderInputControls As System.Boolean, _
       ByVal renderChildren As System.Boolean, _
       ByVal writeMetafileComments As System.Boolean _
    ) 
    public void Draw( 
       System.Drawing.Graphics graphics,
       System.Drawing.Rectangle boundsPx,
       System.Drawing.Rectangle parentContentBoundsPx,
       System.bool renderInputControls,
       System.bool renderChildren,
       System.bool writeMetafileComments
    )

    Parameters

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