We’ve got the new release 6.4 of Aspose.Words.dll and are using the SaveToImage functin to save a copy of image file for thumbnail view. It’s only with some template file that when this was called, each character in the template file will be saved as in a separate line. The code we used was like this:
Document doc = new Document(fileName);
doc.SaveToImage(0, 1, thumbnailPath, null);
I’ve attached a copy of the template and the generated gif file. The template file was created in Word 2003. Interesting thing is if you just type a space in the template file and save again, the problem would have gone. This is on a separate machine with Word 2007. If you only open the file and re-save it with out change, the problem will still be there.
Could you have a look at the template and see what’s special with it and why it’s breaking the SaveToImage function?
Thanks for your request. I managed to reproduce the problem on my side and created new issue #9150 in our defect database. I will notify you as soon as it is resolved.
The problem occur because width of column is not specified in the source document (WML)
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.