Adjusting GetBBox coordinates for landscaped pages

Q:

I'm testing this great control, and would like to share a tip.I was
doing som pdf extraction, and had problem with landscape documents.

Some element.GetBBox coordinates did not make sense, so I used your
advice (one with pages default matrix - page.GetDefaultMatrix()).
Bottom line, when trying to get elements reading order, if you are
parsing landscape document, element.GetBBox coordinates are inverted.
One must take this into consideration when sorting page elements in
reading order.

other: ElementReaderAdvTest sample should be updated to correctly
parse landscaped documents too.
---
A:

Thanks for the suggestion! We are going to update ElementReaderAdvTest
sample to correctly account for the effect or page rotation and media
box adjustments.