PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / RenderEmptyFragment 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 Graphics, _
       ByVal boundsPx As Rectangle, _
       ByVal parentContentBoundsPx As Rectangle, _
       ByVal renderChildren As Boolean, _
       ByVal pdp As PageDrawParams _
    ) 
    public virtual void Draw( 
       Graphics graphics,
       Rectangle boundsPx,
       Rectangle parentContentBoundsPx,
       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