Table of Contents

Method Render

Namespace
DocWright.Formats.Pdf.Raster
Assembly
DocWright.Formats.Pdf.dll

Render(PdfDocument, PdfRasterOptions?)

Renders the selected pages.

public static IEnumerable<PdfRenderedPage> Render(PdfDocument document, PdfRasterOptions? options = null)

Parameters

document PdfDocument

The opened document.

options PdfRasterOptions

Raster options, or null for the defaults.

Returns

IEnumerable<PdfRenderedPage>

The rendered pages, produced lazily in page order.

Exceptions

ArgumentNullException

document is null.

ArgumentOutOfRangeException

The page range names pages the document does not have.