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

In This Topic
    Draw(Graphics,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 renderInputControls As Boolean _
    ) 
    public void Draw( 
       Graphics graphics,
       bool renderInputControls
    )

    Parameters

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