THotPDF.PageLayout Property

 

THotPDF.PageLayout Property

THotPDF

 

Arriba  Anterior  Siguiente

Determina el diseño de página que se usará cuando se abra el documento

 

type

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

 

Sintaxis Delphi:

property PageLayout: THPDFPageLayout;

 

Sintaxis C++:

__property THPDFPageLayout  PageLayout;

 

Descripción

Utilice PageLayout para determinar el diseño de página que se usará al abrir el documento (valor predeterminado:  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.

 

Ejemplo de código

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