Insert HTML into document


#1

[C#] Document doc = new Document(); DocumentBuilder builder = new DocumentBuilder(doc); string html = “<P align=‘right’>Paragraph right</P>” + “<b>Implicit paragraph left</b>” + “<div align=‘center’>Div center</div>” + “<h1 align=‘left’>Heading 1 left.</h1>”; builder.InsertHtml(html); doc.Save(ArtifactsDir + “DocumentBuilder.InsertHtml.doc”);


Html to Pdf using DocumentBuilder (Aspose.Words)
#2

@johnmario

Unfortunately, your question is not clear enough therefore we request you to please elaborate your inquiry further. Also, please supply input/output documents and your current code for testing. This will help us to understand your scenario, and we will be in a better position to address your concerns accordingly.