Document Solutions for PDF
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / GcPdfDocument Class / SaveAsImage Method / SaveAsImage(ViewState,OutputRange,SaveAsImageOptions,SaveAsImageDelegate) Method
The GrapeCity.Documents.Pdf.Layers.ViewState used to determine what document content would be considered.
The range of pages that should be saved.
Options that allow customizing the output images.
The callback method called for each page.

In This Topic
    SaveAsImage(ViewState,OutputRange,SaveAsImageOptions,SaveAsImageDelegate) Method
    In This Topic
    Iterates over the document pages and generates a GrapeCity.Documents.Imaging.GcBitmap for each page in the pageRange.
    Syntax
    'Declaration
     
    Public Overloads Sub SaveAsImage( _
       ByVal viewState As ViewState, _
       ByVal pageRange As OutputRange, _
       ByVal options As SaveAsImageOptions, _
       ByVal saveMethod As GcPdfDocument.SaveAsImageDelegate _
    ) 
    public void SaveAsImage( 
       ViewState viewState,
       OutputRange pageRange,
       SaveAsImageOptions options,
       GcPdfDocument.SaveAsImageDelegate saveMethod
    )

    Parameters

    viewState
    The GrapeCity.Documents.Pdf.Layers.ViewState used to determine what document content would be considered.
    pageRange
    The range of pages that should be saved.
    options
    Options that allow customizing the output images.
    saveMethod
    The callback method called for each page.
    See Also