PdfPageLayout Enum

Wordize.Saving.PdfPageLayout enum. Specifies the page layout to be used when the document is opened in a PDF reader.

PdfPageLayout enumeration

Specifies the page layout to be used when the document is opened in a PDF reader.

public enum PdfPageLayout

Values

NameValueDescription
SinglePage0Display one page at a time.
OneColumn1Display the pages in one column.
TwoColumnLeft2Display the pages in two columns, with odd-numbered pages on the left.
TwoColumnRight3Display the pages in two columns, with odd-numbered pages on the right.
TwoPageLeft4Display the pages two at a time, with odd-numbered pages on the left.
TwoPageRight5Display the pages two at a time, with odd-numbered pages on the right.

Examples

Shows how to configure page layout in PDF.

PdfSaveOptions pdfSaveOptions = new PdfSaveOptions();
pdfSaveOptions.PageLayout = PdfPageLayout.TwoColumnRight;

Converter.Create()
    .From(MyDir + "TestSpliter.docx")
    .To(ArtifactsDir + "PdfSaveOptions.PageLayout.pdf", pdfSaveOptions)
    .Execute();

See Also