GetDeviceTransform(PdfPage) Method

Definition

Assembly Broadside.Rendering.dll

Returns the transform from page's default user space to the pixels of a bitmap of GetPixelSize(PdfPage): origin at the top-left corner of the rotated crop box (or of the Region's pixels), y down, one unit = one pixel.

public Matrix GetDeviceTransform(PdfPage page)

Parameters

page
PdfPage

The page.

Returns

Matrix
The device transform; a display list's own transforms are applied before it.

Remarks

ISO 32000-2 §8.3.2.2 (device space), §8.3.2.3 (default user space and UserUnit), §7.7.3.3 Table 31 (Rotate: the page is shown turned clockwise) and §14.11.2 (crop box).