I am attempting to convert a Word document created with Aspose.Word to a PDF using the following code:
aspPDF.IsImagesInXmlDeleteNeeded = True
When the last line of code is executed, I get the following exception:
Couldn’t open image file: C:\Documents and Settings\wilson_ma\My Documents\Visual Studio Projects\AsposeTest\binDocFromScratchPDF.001.Png
The problem is the missing “” between bin and the document name. As a temporary workaround I have been opening the XML file and placing the backslash before the image name, which allows the code to execute successfully.