SetPageLayout

Document properties

Description

Sets the initial page layout of the document.

Syntax

Delphi

function TPDFlib.SetPageLayout(NewPageLayout: Integer): Integer;

ActiveX

Function PDFlib::SetPageLayout(NewPageLayout As Long) As Long

DLL

int DLSetPageLayout(int InstanceID, int NewPageLayout);

Parameters

NewPageLayout0 = Single page 1 = One column 2 = Two columns, odd-numbered pages on left 3 = Two columns, odd-numbered pages on right 4 = Two pages, odd-numbered pages on left 5 = Two pages, odd-numbered pages on right 6 = No preference (setting removed from document)

Return values

0The page layout could not be set The page layout was set successfully
1