THotPDF.PageLayout – vlastnost

 

THotPDF.PageLayout – vlastnost

THotPDF

 

Nahoru  Předchozí  Další

Určuje rozvržení stránky použité při otevření dokumentu

 

type

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

 

Syntaxe Delphi:

property PageLayout: THPDFPageLayout;

 

Syntaxe C++:

__property THPDFPageLayout  PageLayout;

 

Popis

Pomocí PageLayout určíte rozvržení stránky použité při otevření dokumentu (výchozí hodnota:  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.

 

Příklad kódu

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