Debenu Quick PDF logo

DAFindPage

Direct access functionality

Description

Use this function to obtain a page reference for use with other Direct Access functions. This page reference will remain constant even if other pages are added to or removed from the document.

Syntax

Delphi

function TDebenuPDFLibrary1811.DAFindPage(FileHandle, Page: Integer): Integer;

ActiveX

Function DebenuPDFLibrary1811.PDFLibrary::DAFindPage(FileHandle As Long,
  Page As Long) As Long

DLL

int DPLDAFindPage(int InstanceID, int FileHandle, int Page)

Parameters

FileHandle A handle returned by the DAOpenFile, DAOpenFileReadOnly or DAOpenFromStream functions
Page The page number. The first page in the document has a page number of 1.

Return values

0 The specified FileHandle was not valid or the Page parameter was out of range
Non-zero An ID that can be used as the PageRef parameter for any of the direct access functions

Copyright © 2020 Debenu. All rights reserved. AboutContactBlogNewsletterSupport