[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Page.GetUserToDeviceMatrix

GetUserToDeviceMatrix Method

GetUserToDeviceMatrix(float, float, bool)

Returns the matrix used to convert coordinates in content stream of this page to device coordinates.

Declaration
public Matrix3x2 GetUserToDeviceMatrix(float deviceDpiX, float deviceDpiY, bool ignoreRotate = false)
Public Function GetUserToDeviceMatrix(deviceDpiX As Single, deviceDpiY As Single, Optional ignoreRotate As Boolean = False) As Matrix3x2
Parameters
Type Name Description
float deviceDpiX

The horizontal device resolution.

float deviceDpiY

The vertical device resolution.

bool ignoreRotate

Indicates whether to ignore rotation specified for page with Rotate property.

Returns
Type Description
Matrix3x2