PrintDocument for WinForms | ComponentOne
C1.PrintDocument.8 Assembly / C1.C1Preview Namespace / C1Page Class / Draw Method / Draw(Graphics,Boolean,Boolean) Method
The System.Drawing.Graphics to draw on.
Indicates whether to draw input controls (see RenderInputBase).
Indicates whether to draw metafile comments, like outlines, hyperlinks etc.

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

    Parameters

    graphics
    The System.Drawing.Graphics to draw on.
    renderInputControls
    Indicates whether to draw input controls (see RenderInputBase).
    writeMetafileComments
    Indicates whether to draw metafile comments, like outlines, hyperlinks etc.
    See Also