PageLayout
PdfSaveOptions.PageLayout property
Specifies the page layout to be used when the document is opened in a PDF reader.
public PdfPageLayout PageLayout { get; set; }
Remarks
The default value is SinglePage.
Examples
Shows how to display pages when opened in a PDF reader.
Document doc = new Document(MyDir + "Big document.docx");
// Display the pages two at a time, with odd-numbered pages on the left.
PdfSaveOptions saveOptions = new PdfSaveOptions();
saveOptions.PageLayout = PdfPageLayout.TwoPageLeft;
doc.Save(ArtifactsDir + "PdfSaveOptions.PageLayout.pdf", saveOptions);
See Also
- enum PdfPageLayout
- class PdfSaveOptions
- namespace Aspose.Words.Saving
- assembly Aspose.Words