Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PDF Generation and Mystery Mania
#15
I'm using the following sub which I pulled from your prog :-

Code: (Select All)

Sub AddLine (PR As _Byte, t As String)
    If PR Then
        ' Add text that is restricted in length,
        '  starts a new line after x characters.
        '  Will break on space, instead of mid word.
        pdfAddTextBlock 80, t
        ' new line
        pdfNextLine
    End If
End Sub

It's splitting the text at the 80 character point but it's not moving down to a new line. It's over writting the first part of the text. What have I missed??
Oh look. A sig line :-)
Reply


Messages In This Thread
PDF Generation and Mystery Mania - by justsomeguy - 03-01-2025, 07:17 PM
RE: PDF Generation and Mystery Mania - by bplus - 03-01-2025, 07:22 PM
RE: PDF Generation and Mystery Mania - by Mad Axeman - 03-07-2025, 03:44 PM



Users browsing this thread: 23 Guest(s)