Click or drag to resize

PageGetDefaultMatrix Method (Boolean, PageBox, PageRotate)

Gets the default matrix.

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public Matrix2D GetDefaultMatrix(
	bool flip,
	PageBox region,
	PageRotate rot
)

Parameters

flip
Type: SystemBoolean
this parameter can be used to mirror the page. if 'flip_y' is true the Y axis is not flipped and it is increasing, otherwise Y axis is decreasing.
region
Type: pdftron.PDFPageBox
an optional parameter used to specify the page box/region that the matrix should map to. By default, the function transforms user space coordinates to cropped coordinates.
rot
Type: pdftron.PDFPageRotate
the rot_type

Return Value

Type: Matrix2D
the matrix that transforms user space coordinates to rotated and cropped coordinates. The origin of this space is the bottom-left of the rotated, cropped page.
See Also