Error attempting to convert DOCX to PDF
Posted: Sat Mar 20, 2021 1:52 am
Hi,
I am tying to convert a docx file to a pdf.
I am using the sample code here: https://www.vintasoft.com/docs/vsimagin ... o_Pdf.html
When adding the file to the collection, I get an exception with the message: Wrong or unsupported image format.
imageCollection.Add(filePath)
I have verified that the file path is correct and that I have a valid DOCX file. the file was created with Office 365 Word.
We are using the VintaSoft Imaging .NET SDK with the office plug in for Winforms C#.
Any ideas why I am getting that error?
Thanks
I am tying to convert a docx file to a pdf.
I am using the sample code here: https://www.vintasoft.com/docs/vsimagin ... o_Pdf.html
When adding the file to the collection, I get an exception with the message: Wrong or unsupported image format.
imageCollection.Add(filePath)
I have verified that the file path is correct and that I have a valid DOCX file. the file was created with Office 365 Word.
We are using the VintaSoft Imaging .NET SDK with the office plug in for Winforms C#.
Any ideas why I am getting that error?
Thanks