1.4.1.7 How can I find the size of a text object?
"How can I find the size of a text object / center text / justify text?"
You can use the min_extent() and max_extent() functions to get the corners of the
bounding box of any object. While this is sometimes not the actual size of the object, for text objects this should be
fairly accurate, enough to do alignment of the text object.
|