Hi,
As I convert my existing Word document to PDF I have noticed that the PDF document is not the same as the Word document. It seems that the PDF document didn't copy the format like (font size, line spacing, alignment), etc from the word document to the PDF. Even if the Word file has 2 pages, it is converted to a PDF file with only 1 page.
I use this code on converting word to pdf.
private string ConvertToPdf(string filepath, string outputpath) { Document doc = Document.Load(filepath); using (FileStream fs = File.Create(outputpath)) { doc.Save(fs, Docentric.Documents.ObjectModel.SaveOptions.Pdf); } return outputpath; }
Best Regards, Neonito Perez Jr.
Last edited 13 April 2020