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

Free Support Forum - aspose.com

InsertHtml and text justification


Well, that’s weird that my original message got truncated?


I have multiple merge fields in my template that are set to have alignment=Justify.

Most of the fields I use MailMerge.Execute(fieldNames, fieldValues) and it works fine and the output document looks great and justified.

However, I have a few fields that I insert HTML. I use:


In the above, the output document has reverted to alignment = Justify.

Any tips on maintaining the justified alignment?


Hello Will!
Thank you for considering Aspose.
I cannot guess why your message was truncated. Maybe you pressed “post” accidentally.
Formatting can depend on the HTML fragment you are inserting. Please attach here your document, provide the fragment and show your code. I have to know what field in the document is affected.