Skip to content

Is there any way to figure out the height and width (in pixels) of the text inserted? #145

Answered by AndreRenaud
ngquyduc asked this question in Q&A
Discussion options

You must be logged in to vote

pdf_add_text_wrap already takes the width as an argument, so that is known, and it returns the height in *height - one of its parameters. This is all after the fact though, but is that enough for you to know where to put the lines for the table (basically x + width + border and y + height + border)?

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by AndreRenaud
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants