Debenu Quick PDF logo

DrawCapturedPageMatrix

Page layout

Version history

This function was introduced in Quick PDF Library version 9.15.

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 TDebenuPDFLibrary1511.DrawCapturedPageMatrix(CaptureID: Integer; M11, M12, 
  M21, M22, MDX, MDY: Double): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::DrawCapturedPageMatrix(CaptureID As Long,
  M11 As Double, M12 As Double, M21 As Double, M22 As Double,
  MDX As Double, MDY As Double) As Long

DLL

int DPLDrawCapturedPageMatrix(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
M11 Matrix component (xscale)
M12 Matrix component (shear)
M21 Matrix component (shear)
M22 Matrix component (yscale)
MDX Matrix component (xoffset)
MDY Matrix component (yoffset)

Return values

0 An invalid CaptureID was specified
1 The captured page was drawn successfully

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport