GeneratedDoc.docx (23.0 KB)
I am trying to convert this docx file to pdf using the below method.
wordDocument.Save(pdfDocStream, pdfSaveOptions);
But I am getting null reference exception error on this line of code.
H…...before saving to pdf, the pdf conversion works fine wordDocument.Styles...are encountering during the conversion of a Word document to PDF...