Hello,
I know it isn't wanted to re-ask the same question, but I do... Please for give me.
Can someone put me in the right direction by calculating StringWidth.
I mean the lenght in pixels, units or some value from any string in a specified font.
Maybe I can draw a string on a blanc...
I made some simple functions for easy writing on top of an existing PDF.
Thanks to DonManfred post: PDFBox post#4
I need to calculate stringwidth for center align and right align.
On StackOverflow I found the stringwidth could by calculated with a function at font object.
But in the for B4J...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.