Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / Page Class / Draw Method / Draw(GcGraphics,RectangleF,ViewState,Boolean,Boolean,RenderingCache,Boolean) Method
The GrapeCity.Documents.Drawing.GcGraphics on which to draw the page.
The draw bounds.
The GrapeCity.Documents.Pdf.Layers.ViewState used to determine what document content would be considered.
Indicates whether to draw the annotations.
Indicates whether to draw the form fields.
The RenderingCache object used to cache objects created during rendering.
Indicates whether to ignore errors in PDF content stream during rendering.

In This Topic
    Draw(GcGraphics,RectangleF,ViewState,Boolean,Boolean,RenderingCache,Boolean) Method
    In This Topic
    Syntax
    'Declaration
     
    Public Overloads Sub Draw( _
       ByVal graphics As GcGraphics, _
       ByVal bounds As System.Drawing.RectangleF, _
       ByVal viewState As ViewState, _
       Optional ByVal drawAnnotations As System.Boolean, _
       Optional ByVal drawFormFields As System.Boolean, _
       Optional ByVal renderingCache As RenderingCache, _
       Optional ByVal ignoreErrors As System.Boolean _
    ) 
    public void Draw( 
       GcGraphics graphics,
       System.Drawing.RectangleF bounds,
       ViewState viewState,
       System.bool drawAnnotations,
       System.bool drawFormFields,
       RenderingCache renderingCache,
       System.bool ignoreErrors
    )

    Parameters

    graphics
    The GrapeCity.Documents.Drawing.GcGraphics on which to draw the page.
    bounds
    The draw bounds.
    viewState
    The GrapeCity.Documents.Pdf.Layers.ViewState used to determine what document content would be considered.
    drawAnnotations
    Indicates whether to draw the annotations.
    drawFormFields
    Indicates whether to draw the form fields.
    renderingCache
    The RenderingCache object used to cache objects created during rendering.
    ignoreErrors
    Indicates whether to ignore errors in PDF content stream during rendering.
    See Also