[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.GcPdfDocument.SaveAsImage

SaveAsImage Method

SaveAsImage(ViewState, OutputRange, SaveAsImageOptions, SaveAsImageDelegate)

Iterates over the document pages and generates a GcBitmap for each page in the pageRange.

Declaration
public void SaveAsImage(ViewState viewState, OutputRange pageRange, SaveAsImageOptions options, GcPdfDocument.SaveAsImageDelegate saveMethod)
Parameters
Type Name Description
ViewState viewState

The ViewState used to determine what document content would be considered.

OutputRange pageRange

The range of pages that should be saved.

SaveAsImageOptions options

Options that allow customizing the output images.

GcPdfDocument.SaveAsImageDelegate saveMethod

The callback method called for each page.

SaveAsImage(OutputRange, SaveAsImageOptions, SaveAsImageDelegate)

Iterates other the document pages and generates a GcBitmap for each page in the pageRange.

Declaration
public void SaveAsImage(OutputRange pageRange, SaveAsImageOptions options, GcPdfDocument.SaveAsImageDelegate saveMethod)
Parameters
Type Name Description
OutputRange pageRange

The range of pages that should be saved.

SaveAsImageOptions options

Options that allow customizing the output images.

GcPdfDocument.SaveAsImageDelegate saveMethod

The callback method called for each page.