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…...certain styles or formatting that may not be compatible with the PDF...complex formatting or styles that may not translate well into PDF format...