|
|
You are a genius! And we are, obviously, dumb! :D Thank you!!!
|
|
|
What do you mean under bounding box, the quadrilateral like this:  or rectangle with coordinates (left/top) - (right/bottom) (x4, y3) - (x2,y1) There is no easy way to get quadrilateral of rotated text object, but you can calculate it. I can suggest the following workaround: - Create clone of TextObject;
- Rotate it to the angle that is opposite to the angle of the source text object;
- Get bounding box of this text object;
- Rotate the bounding box to the original angle;
|
|
|
Hi,
Yet another noob question :)
Is it possible to find out the rotated bounding box of a rotated PdfTextObject? By "rotated" bounding box I mean a bounding box aligned with the rotated text, i.e. that is rotated by the same angle.
Our old PDF library was able to produce such a bounding box, but I cannot figure out if it is possible with Pdfium.Net.
Best regards, Roman
|
Important Information:
The Patagames Software Support Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close