PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / RenderRichTextFragment Class / Draw Method / Draw(Graphics,Rectangle,Rectangle,Boolean,Boolean,Boolean) Method
The System.Drawing.Graphics object to draw on.
The draw bounds.
The paretnt bounds.
true to draw input controls (see RenderInputBase), false to ignore them.
true to draw child fragments, false to ignore them.
Indicates whether to write metafile comments to graphics: info about anchors, hyperlinks etc.

In This Topic
    Draw(Graphics,Rectangle,Rectangle,Boolean,Boolean,Boolean) Method
    In This Topic
    Draws the current fragment on a specified System.Drawing.Graphics.
    Syntax
    'Declaration
     
    Public Overloads Sub Draw( _
       ByVal graphics As Graphics, _
       ByVal boundsPx As Rectangle, _
       ByVal parentContentBoundsPx As Rectangle, _
       ByVal renderInputControls As Boolean, _
       ByVal renderChildren As Boolean, _
       ByVal writeMetafileComments As Boolean _
    ) 

    Parameters

    graphics
    The System.Drawing.Graphics object to draw on.
    boundsPx
    The draw bounds.
    parentContentBoundsPx
    The paretnt bounds.
    renderInputControls
    true to draw input controls (see RenderInputBase), false to ignore them.
    renderChildren
    true to draw child fragments, false to ignore them.
    writeMetafileComments
    Indicates whether to write metafile comments to graphics: info about anchors, hyperlinks etc.
    See Also