I am using Aspose pdf for converting HTML to PDF. But I see the converted PDF in a document format, basically no HTML tags. But I want it to remain as HTML itself even in PDF. Is this possible?
As a side information, we are evaluating aspose to replace itext and hence we are trying out all mime types.
Output is named as ImagetoPDF
Expected output is named as ExpectedOutputImagetoPDF.pdf (681.5 KB)
ExpectedOutput.png (50.5 KB)
HtmlLoadOptions options= new HtmlLoadOptions();
com.aspose.pdf.Document pdfDocument= new com.aspose.pdf.Document(is,options);
pdfDocument.save(“C:/temp/ImagetoPDF.pdf”,com.aspose.pdf.SaveFormat.Pdf);Android Mobile - Font Background.7z (778 Bytes)