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
| 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
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
- namespace Wordize.Saving
- assembly Wordize