Hello,
I’m inserting the html:
<p align="center">text</p>
and the paragraph is not center aligned in the Word output being generated. Could you take a look and let me know if what I’m doing anything wrong. I am using Aspose.Words 5.3.
Thanks!
Hello,
I’m inserting the html:
<p align="center">text</p>
and the paragraph is not center aligned in the Word output being generated. Could you take a look and let me know if what I’m doing anything wrong. I am using Aspose.Words 5.3.
Thanks!
Hi
Thanks for your request. I used the following code for testing and all works fine.
Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
builder.InsertHtml("<p align=\"center\">text</p>");
doc.Save(@"Test022\out.doc");
I use the latest version (6.0.0) for testing.
Best regards.