We use Aspose.Words to manipulate our docx files. Additionally can we use this product to convert html files to pdf? Or do we have to buy Aspose.Pdf for this?
In any way, could you share snippet code with me how we can do this in the easiest way.
Thanks
@ilvarol Sure, you can convert HTML document to PDF using Aspose.Words:
Document doc = new Document("in.html");
doc.Save("out.pdf");
Please see our documentation to learn what document formats are supported by Aspose.Words:
https://docs.aspose.com/words/net/supported-document-formats/
1 Like