PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / RenderTocItemFragment Class / Draw Method / Draw(Graphics,Rectangle,Boolean) Method
The System.Drawing.Graphics object to draw on.
The paretnt bounds.
true to draw input controls (see RenderInputBase), false to ignore them.

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

    Parameters

    graphics
    The System.Drawing.Graphics object to draw on.
    parentContentBoundsPx
    The paretnt bounds.
    renderInputControls
    true to draw input controls (see RenderInputBase), false to ignore them.
    See Also