I'm trying to write() a text string to my PDF. When the string is 5 characters long, it displays OK. When it is over 5 characters, nothing is shown.
I have a feeling I need to set the maximum width to allow for longer strings.
There is no argument to write() which set the maximum length, so how is this done?
Log in to post a comment.
I'm trying to write() a text string to my PDF. When the string is 5 characters long, it displays OK. When it is over 5 characters, nothing is shown.
I have a feeling I need to set the maximum width to allow for longer strings.
There is no argument to write() which set the maximum length, so how is this done?