Android Question Write HTML to PDF

Fausto Loss

Member
Licensed User
Hi people,

I use library pdf 0.25 and B4A 6.8

How to write html to pdf ?

example:
B4X:
    Dim sb As StringBuilder
    sb.Initialize
    sb.Append("<html><head>")
    ' utf-8
    sb.append("<meta http-equiv=""" & "Content-Type""" & " content=""" & "text/html; charset=iso-8859-1""" & ">")
    sb.append("</head>")
    sb.append("<body text=""" & "#000000""" & " bgcolor=""" & "#FFFFFF""" & ">")
    sb.append("<p><strong>Hello Word,</strong><br></p>")
    sb.append( "</body>")
    sb.append( "</html>")
 
Top