|
This property is used to set page layout of the PDF document. Following are the values of TxgtPageLayout:
PageLayout
|
Description
|
Values
|
plNone
|
None of the pages displayed.
|
0
|
plSinglePage
|
Displays one page at a time.
|
1
|
plOneColumn
|
Displays the pages in one column.
|
2
|
plTwoColumnLeft
|
Displays the pages in two columns, with odd numbered pages on the left.
|
3
|
plTwoColumnRight
|
displays the pages in two columns, with odd n umbered pages on the right
|
4
|
Syntax
[VC++]
void SetPageLayout(long PageLayout);
[VB]
Sub SetPageLayout(PageLayout As TxgtPageLayout)
|
Parameters
PageLayout
Specify the Page layout of the document.
Example Code
[VC++]
m_PDF.SetPageLayout(plSinglePage);
[VB]
gtPDFDocumentX1.SetPageLayout(plSinglePage)
|