ComponentOne ReportViewer for ASP.NET Web Forms
C1.C1Report.4 Assembly / C1.C1Preview Namespace / RenderFragment Class / Draw Method / Draw(Graphics,Rectangle,Rectangle,Boolean,PageDrawParams) Method
The System.Drawing.Graphics object to draw on.
The draw bounds.
The paretnt bounds.
true to draw child fragments, false to ignore them.
Specifies additional parameters of drawing.

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

    Parameters

    graphics
    The System.Drawing.Graphics object to draw on.
    boundsPx
    The draw bounds.
    parentContentBoundsPx
    The paretnt bounds.
    renderChildren
    true to draw child fragments, false to ignore them.
    pdp
    Specifies additional parameters of drawing.
    See Also