SelectPage

Page layout, Page manipulation

Description

Selects a page of the selected document. The drawing state returns to its defaults as after NewPage, except that the selected font and the text size are kept.

Syntax

Delphi

Function TPDFlib.SelectPage(PageNumber: Integer): Integer;

ActiveX

Function PDFlib::SelectPage(PageNumber As Long) As Long

DLL

int DLSelectPage(int InstanceID, int PageNumber);

Parameters

PageNumberThe page to select

Return values

0The specified page could not be found
1The page was selected successfully