PdfJet is fantastic library by Warwound.
Have a lot function but anyway is absent multiline management.
With this code is possible resolve:
The code is:
Bye
Marco
Have a lot function but anyway is absent multiline management.
With this code is possible resolve:
The code is:
B4X:
Dim x As Int
Dim stringa As String = "Devil-App <li> Andiamo a capo <li> Questa è una frase più lunga quindi non dipende dalla lunghezza <li> Ora " & _
"Detto questo possiamo aggiungere altra frase molto lunga <li> e andare di nuovo a capo <li>*************"
Dim splitta() As String = Regex.Split("<li>", stringa)
Log(splitta.Length)
For xx = 0 To splitta.Length - 1
x = x + 20
PDFTextLine.SetPosition(0, x )
PDFTextLine.SetText(splitta(xx))
PDFTextLine.DrawOn(PDFPage)
Next
Bye
Marco