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

Free Support Forum - aspose.com

PDF Conversion - Justified Text

A user is experiencing some odd behavior regarding justified text during the pdf conversion process. In Word the final line of the paragraph on page 2 does not expand to the full width of the page, however when Aspose saves the document as a PDF the final line gets expanded to fill the entire page (which is not what the user wants).


Here is the block of code for converting to pdf:
var asposeDocxDocument = new Document(new MemoryStream(bFile.Data));
var streamResult = new MemoryStream();
PdfSaveOptions options = new PdfSaveOptions();
options.SaveFormat = SaveFormat.Pdf;
asposeDocxDocument.Save(streamResult, options);

Hi Steven,


Thanks for your inquiry.

While using the latest version of Aspose.Words i.e. 15.8.0, we managed to reproduce this issue on our end. We have logged this issue in our bug tracking system. The ID of this issue is WORDSNET-12452. Your thread has also been linked to this issue and you will be notified as soon as it is resolved. Sorry for the inconvenience.

Best regards,

The issues you have found earlier (filed as WORDSNET-12452) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.