Hello,
Converting a Word (DOC) file to PDF it's very slow for bigger documents, for example a 400 pages document takes almost 20 minutes, and for a 1100 pages document it didn't finish after more than 3 hours.
Here's the code used, obviously the part that's taking forever is "doc.SaveToFile(outputFilePath, FileFormat.PDF)":
// Create a Document object
Document doc = new Document();
// Load a Word document
doc.LoadFromFile(inputFilePath);
// Save the new document to PDF
doc.SaveToFile(outputFilePath, FileFormat.PDF);
// Dispose resources
doc.Dispose();
Is there any other suggested approach when converting bigger documents to PDF?
Thanks