DADrawCapturedPage

Direct access functionality, Page layout

Description

Draws a page originally captured using the DrawCapturedPage function onto the specified page. The original page must have been captured from the same document (having the same FileHandle).

Syntax

Delphi

function TPDFlib.DADrawCapturedPage(FileHandle, DACaptureID, DestPageRef: Integer; PntLeft, PntBottom, PntWidth, PntHeight: Double): Integer;

ActiveX

Function PDFlib::DADrawCapturedPage(FileHandle As Long, DACaptureID As Long, DestPageRef As Long, PntLeft As Double, PntBottom As Double, PntWidth As Double, PntHeight As Double) As Long

DLL

int DLDADrawCapturedPage(int InstanceID, int FileHandle, int DACaptureID, int DestPageRef, double PntLeft, double PntBottom, double PntWidth, double PntHeight);

Parameters

FileHandleA handle returned by the DAOpenFile, DAOpenFileReadOnly or DAOpenFromStream functions
DACaptureIDA capture ID returned by the DACapturePage function
DestPageRefA page reference returned by the DAFindPage or DANewPage functions
PntLeftThe horizontal co-ordinate of the left edge of the destination rectangle, measured in points from the left edge of the page
PntBottomThe vertical co-ordinate of the bottom edge of the destination rectangle, measured in points from the bottom edge of the page
PntWidthThe width of the destination rectangle, measured in points
PntHeightThe height of the destination rectangle, measured in points

Return values

0The specified FileHandle, PageRef or DACaptureID were not valid
1The captured page was drawn successfully double PntWidth, double PntHeight);