DAHidePage

Direct access functionality, Page manipulation

Description

Hides the specified page from a document originally opened with DAOpenFile. The content of the page is still in the document, but the page will not be visible.

Syntax

Delphi

function TPDFlib.DAHidePage(FileHandle, PageRef: Integer): Integer;

ActiveX

Function PDFlib::DAHidePage(FileHandle As Long, PageRef As Long) As Long

DLL

int DLDAHidePage(int InstanceID, int FileHandle, int PageRef);

Parameters

FileHandleA handle returned by the DAOpenFile, DAOpenFileReadOnly or DAOpenFromStream functions
PageRefA page reference returned by the DAFindPage or DANewPage functions

Return values

0The specified FileHandle or PageRef were not valid
1The page was hidden successfully