PageLayout Enumeration

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET
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

public enum PageLayout
Members

  Member nameValueDescription
SinglePage0 Display one page at a time.
OneColumn1 Display the pages in one column.
TwoColumnLeft2 Display the pages in two columns, with odd-numbered pages on the left.
TwoColumnRight3 Display the pages in two columns, with odd-numbered pages on the right.
TwoPageLeft4 Display the pages two at a time, with odd-numbered pages on the left.
TwoPageRight5 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

Reference