PdfSaveOptions.PageLayout

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

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 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