FixedPageSaveOptions.PageSet

FixedPageSaveOptions PageSet property. Gets or sets the pages to render. Default is all the pages in the document.

FixedPageSaveOptions.PageSet property

Gets or sets the pages to render. Default is all the pages in the document.

public PageSet PageSet { get; set; }

Examples

Shows how to specify page set that should be rendered.

PdfSaveOptions pdfSaveOptions = new PdfSaveOptions();
pdfSaveOptions.PageSet = new PageSet(1);

Converter.Create()
    .From(MyDir + "Simple.docx")
    .To(ArtifactsDir + "FixedPageSaveOptions.PageSet.pdf", pdfSaveOptions)
    .Execute();

See Also