We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Converting docx to pdf question

I have a question, i using aspose.word (newest dll) to save document as pdf, img1 is pdf file and img2 is docx file
In the img1 where underline is space, my question is why different img1 with img2 ? Converting Bug?
Can any one help me? thx.....

ps. use newest dll to save document
ps. word document paragraph alignment is justify
ps. when i use office word (office 2013) to save as pdf, convert result is normal

Converting docx to pdf code snippet below here ↓
using (var memStream = new MemoryStream())
using (var fileStream = new MemoryStream(file))
var doc = new Document(fileStream);
doc.Save(memStream, new PdfSaveOptions ()
EncryptionDetails = new PdfEncryptionDetails (
"pwd" , string .Empty, PdfEncryptionAlgorithm.RC4_128)
Permissions = PdfPermissions .Printing
return memStream.ToArray();

Hi there,

Thanks for your inquiry. It seems your document specific issue, please share your sample input document here as well. We will test the scenario and will guide you accordingly.

We are sorry for the inconvenience.

Best Regards,