Debenu Quick PDF logo

DrawCapturedPage

Page layout

Description

This function draws a page previously captured with the CapturePage function onto the current page. It can be drawn at any size and position, allowing for 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.DrawCapturedPage(CaptureID: Integer; Left, Top, 
  Width, Height: Double): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::DrawCapturedPage(CaptureID As Long,
  Left As Double, Top As Double, Width As Double, Height As Double) As Long

DLL

int DPLDrawCapturedPage(int InstanceID, int CaptureID, double Left, double Top,
  double Width, double Height)

Parameters

CaptureID The ID returned by the CapturePage function when a page was previously captured
Left The co-ordinate of the left edge of the destination area
Top The co-ordinate of the top edge of the destination area
Width The width of the destination area
Height The height of the destination area

Return values

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

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport