Apitron.PDF.Kit library for .NET
Assembly: Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
This enum represents the list of available page layouts shall be used when the document is opened.
Namespace: Apitron.PDF.Kit
Assembly: Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Syntax
Members
Member name | Value | Description | |
---|---|---|---|
SinglePage | 0 | Display one page at a time. | |
OneColumn | 1 | Display the pages in one column. | |
TwoColumnLeft | 2 | Display the pages in two columns, with odd-numbered pages on the left. | |
TwoColumnRight | 3 | Display the pages in two columns, with odd-numbered pages on the right. | |
TwoPageLeft | 4 | Display the pages two at a time, with odd-numbered pages on the left. | |
TwoPageRight | 5 | Display the pages two at a time, with odd-numbered pages on the right. |
Examples
C#
// this objects represents a PDF fixed document FixedDocument document = new FixedDocument(inPdf); // change viewer preferences document.PageLayout = PageLayout.SinglePage; // OR document.PageLayout = PageLayout.OneColumn; // OR document.PageLayout = PageLayout.TwoColumnLeft; // OR document.PageLayout = PageLayout.TwoColumnRight; // OR document.PageLayout = PageLayout.TwoPageLeft; // OR document.PageLayout = PageLayout.TwoPageRight;
See Also