Free Support Forum - aspose.com

Android convert HTML to PDF


#1
Hello, I was wondering the best way to create a PDF from HTML using Android Aspose.Pdf?
This message was posted using Banckle Live Chat 2 Forum

#2

Hi John,

You can use Aspose.Words for Android to convert HTML to PDF.

Best Regards,


#3

Does aspose.words for android allow me to use style in my HTML when converting HTML to PDF? If so, can I use external style sheets, or does the style have to be in style tags within the HTML file?


#4

Hi John,

Yes, you can use com.aspose.words.LoadOptions.setResourceLoadingCallback to load external resources (images and CSS etc.). You can get the idea from this Java example; same code can be used in Android.

Best Regards,


#5

5 posts were split to a new topic: Html page style ,css,color are missing and getting text alone in pdf - Android