THotPDF.PageLayout Property

 

THotPDF.PageLayout Property

THotPDF

 

Κορυφή  Προηγούμενο  Επόμενο

Καθορίζει το page layout που θα χρησιμοποιηθεί όταν ανοίγει το έγγραφο

 

type

THPDFPageLayout = (plSinglePage, plOneColumn, plTwoColumnLeft, plTwoColumnRight);

 

Σύνταξη Delphi:

property PageLayout: THPDFPageLayout;

 

C++ syntax:

__property THPDFPageLayout  PageLayout;

 

Περιγραφή

Χρησιμοποιήστε το PageLayout για να καθορίσετε το page layout που θα χρησιμοποιηθεί όταν ανοίγει το έγγραφο (προεπιλεγμένη τιμή:  plSinglePage)

 

Value                Meaning


plSinglePage                Display one page at a time.

plOneColumn                Display the pages in one column.

plTwoColumnLeft        Display the pages in two columns, with oddnumbered pages on the left.

plTwoColumnRight        Display the pages in two columns, with oddnumbered pages on the right.

 

Code Example

HPDF.OwnerPassword := 'password';          // Set owner password (required to change security settings)
HPDF.UserPassword := 'user';               // Set user password (required to open the document)
HPDF.ProtectOptions := [poEdit, poAnnot];  // Disallow editing and annotations
HPDF.ActivateProtection := true;           // Enable PDF security