PageMetrics(Int32, PdfRectangle, Int32, Double) Constructor

Definition

Assembly Broadside.Viewer.dll

The geometry of one page as a viewer lays it out: its crop box, rotation and user unit, cached by the session.

public PageMetrics(int Index, PdfRectangle CropBox, int Rotation, double UserUnit)

Parameters

Index
Int32

The zero-based page.

CropBox
PdfRectangle

The crop box, in default user space (ISO 32000-2 §14.11.2): the region displayed.

Rotation
Int32

The page's rotation in degrees clockwise: 0, 90, 180 or 270 (ISO 32000-2 §7.7.3.3, Rotate).

UserUnit
Double

The size of a default user space unit in points (ISO 32000-2 §14.11.2, UserUnit).

Remarks

ISO 32000-2 §7.7.3.3 and §14.11.2. Spec #33 story 54.