How to find the exact area of the boundary rectangle of the shape

I am using ASPOSE version 23.11, and I need to extract a shape from a PDF and calculate the area of the range.

I extracted it using the attached code, but for some shapes, the area does not appear or is much smaller.

Please look at the code and PhantomPDF capture information below and tell me how to find the exact area of the boundary rectangle of the shape.

The width and height of the shape in PhantomPDF are the same as the attached jpg image.
240507_code.png (40.8 KB)

240507_SHAPE_FOR_AREA_SAMPLE.pdf (43.8 KB)

240507_shape_width_height.jpg (71.8 KB)

@choiys
Thank you for writing to us.
The situation is truly incomprehensible.
Acrobat shows Path 14 pcs. Moreover, all of them have a non-zero width when selected. GraphicsAbsorber selects 16 elements and five of them have a width of zero (I looked with version 24.05).
I will create a research task for the development team.

@choiys
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PDFNET-57207

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.