Render(PdfPage, RenderOptions) Method

Definition

Assembly Broadside.Rendering.dll

Renders page into a new pooled bitmap of GetPixelSize(PdfPage) pixels, on white.

public Bitmap Render(PdfPage page, RenderOptions options)

Parameters

page
PdfPage

The page.

options
RenderOptions

The scale, rotation, layers and intent.

Returns

Bitmap
The bitmap; dispose it to return its buffer to the pool.

Remarks

ISO 32000-2 §8.3.2.3, §7.7.3.3 Table 31 and §14.11.2 for the page mapping (see RenderOptions); §12.5.5 and §12.5.3 for the annotation and form-field layers drawn over the content (see CreateDisplayList(DisplayLayers, DisplayIntent, ContentOptions)). Cancellation and progress come from options (viewer capability 2).