DrawCapturedPageMatrix
Page layout
Description
This function draws a page previously captured with the CapturePage function onto the current page. The size/position/rotation is specified using a transformation matrix, allowing for advanced imposition of pages.
You cannot use CapturePage to move pages from one document to another so all the required pages must be merged into a single document before calling CapturePage. The CaptureID is just a pointer to a hidden page therefore does not need to be released.
Syntax
Delphi
function TPDFlib.DrawCapturedPageMatrix(CaptureID: Integer; M11, M12, M21, M22, MDX, MDY: Double): Integer;ActiveX
Function PDFlib::DrawCapturedPageMatrix(CaptureID As Long, M11 As Double, M12 As Double, M21 As Double, M22 As Double, MDX As Double, MDY As Double) As LongDLL
int DLDrawCapturedPageMatrix(int InstanceID, int CaptureID, double M11, double M12, double M21, double M22, double MDX, double MDY);Parameters
| CaptureID | The ID returned by the CapturePage function when a page was previously captured Matrix component |
|---|---|
| M11 | |
| M12 | Matrix component |
| M21 | Matrix component |
| M22 | Matrix component |
| MDX | Matrix component |
| MDY | Matrix component |
Return values
| 0 | An invalid CaptureID was specified |
|---|---|
| 1 | The captured page was drawn successfully |