Hello,
My application convert .doc or .docx to .pdf using DocIO. Some conversions return an error :
at Syncfusion.DocIO.DLS.DocReaderAdapter.ReadTextBox(WordReaderBase reader, FileShapeAddress fspa)
at Syncfusion.DocIO.DLS.DocReaderAdapterBase.ReadShape(WordReaderBase reader)
at Syncfusion.DocIO.DLS.DocReaderAdapterBase.ProcessChunk(WordReaderBase reader)
at Syncfusion.DocIO.DLS.DocReaderAdapterBase.ReadTextBody(WordReaderBase reader, WTextBody textBody)
at Syncfusion.DocIO.DLS.DocReaderAdapter.Read(WordReader reader, WordDocument wordDoc)
at Syncfusion.DocIO.DLS.WordDocument.OpenDoc(String fileName)
at Syncfusion.DocIO.DLS.WordDocument.OpenInternal(String fileName, FormatType formatType, String password)
at Syncfusion.DocIO.DLS.WordDocument.WordDocumentType(String fileName, String password)
at Syncfusion.DocIO.DLS.WordDocument..ctor(String fileName, String password)
at DocToPdf.Models.SyncFusionConvert.SyncConvertDocPdf(SeanceModel seance, String destination) in c:\Users\...\SyncFusionConvert.cs:line 119
My code at line 118-119 :
WordDocument wordDocAnnexe;
wordDocAnnexe = new WordDocument(pathAnnexe, "xxxxxxx"/*password*/);
If someone has an idea of the cause of my error, I thank you for the research track.
Thx