DynaPDF: textWidth equivalent for web apps?

Hello folks. I’m working on my 1st web app, and 1st time using DynaPDF, so please excuse me if my question has an obvious answer.
My aim is to horizontally center a line of text in my PDF. Unless there’s a better way, I’ll be doing some simple math to accomplish this…but I need to know the exact width of my text. Can anybody point me in the right direction? Thanks in advance.

Sorry, never mind. Found pdf.ktaCenter.

1 Like

Thanks for helping yourself.
Enjoy the Sunday and if you have another question, please let me know.

Will do, Christian. Finding it a slow process picking through the docs & examples (confusing for a newbie), but I’m getting there. :slight_smile:
You enjoy your Sunday as well!