I want to export whole document as a pdf (I can export as PDF fine) but I can't find a way to export the whole document (all pages) despite of specifying some specific page(s).
e.g.
PageSet Set = new PageSet("2, 4-5"); ==> This exports specific pages and not the whole document (understandable by the code)
DocEx.ExportPdf(Document.GetDocumentInfo(DocID, Sess), Set, PdfExportOptions.None, OutputFile);
Please suggest that how can I export the whole document instead of specifying specific pages?
Thanks