Problem Creating PDF from Multisheet workbook

We’ve got a multi-sheet workbook. We are attempting to save it as a PDF using:

                workbook.Save(ms, SaveOptions.PdfDefault);

The PDF that is created only includes a single one of the worksheets. Is this a limitation of saving as a PDF or is there a setting we’re missing.

Hi Ben,

Try using this:

workbook.Save(ms, new PdfSaveOptions() { SelectionType = SelectionType.EntireFile });

Does this solve your issue?

Regards,
Mario

That did it. Thanks!