PDF Formatting

I'm using the DocumentBuilder's .insertHTML method to create a document.

Document doc = new Document("C:\MyPath\MyFile.doc");

DocumentBuilder builder = new DocumentBuilder(doc);

builder.InsertHtml("something");

I then use the document object to create a pdf. I need to keep the formatting created by the html but I need to display the url for any links. Is there a quick way of doing this?

example:

builder.insertHtml("Click Here");

needs to display in the document as www.example.com. The reason for this is that the pdf's are printed and sent to clients. Seeing "Click Here" all over the printed document would make us look silly.

Thanks

Hi,

Thank you for considering Aspose.

I don’t think this can be supported. You have to modify the hyperlink by yourself. You can also ask the Aspose.Words team to see if they have any solution.