PrintDocument for WinForms | ComponentOne
C1.PrintDocument.8 Assembly / C1.C1Preview Namespace / RenderTextFragment Class / Draw Method / Draw(Graphics,Rectangle,Boolean,Boolean) Method
The System.Drawing.Graphics object to draw on.
The paretnt bounds.
true to draw input controls (see RenderInputBase), false to ignore them.
true to write metafile comments containing anchors, hyperlinks etc.

In This Topic
    Draw(Graphics,Rectangle,Boolean,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, _
       ByVal writeMetafileComments As Boolean _
    ) 

    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.
    writeMetafileComments
    true to write metafile comments containing anchors, hyperlinks etc.
    See Also