THotPDF.PageLayout 속성

 

THotPDF.PageLayout 속성

THotPDF

 

맨 위  이전  다음

Document가 열릴 때 사용할 page layout을 결정합니다

 

type

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

 

Delphi 구문:

property PageLayout: THPDFPageLayout;

 

C++ 구문:

__property THPDFPageLayout  PageLayout;

 

설명

PageLayout을 사용해 document가 열릴 때 사용할 page layout을 결정하십시오(기본값: plSinglePage)

 

Value                Meaning


plSinglePage                Display one page at a time.

plOneColumn                Display the pages in one column.

plTwoColumnLeft page를 두 column으로 표시하며 odd-numbered page를 왼쪽에 둡니다

plTwoColumnRight page를 두 column으로 표시하며 odd-numbered page를 오른쪽에 둡니다

 

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