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
)
Public Function GetDefaultMatrix (
flip As Boolean,
region As PageBox,
rot As PageRotate
) As Matrix2D
public:
virtual Matrix2D^ GetDefaultMatrix(
[InAttribute] bool flip,
[InAttribute] PageBox region,
[InAttribute] PageRotate rot
) sealed
function GetDefaultMatrix(flip, region, 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