The pages of my Pdf actually are in landscape mode…
But how can I detect this.
My goal is simply to initialize a PngDevice in order to export Pages with their original ratio.
Below is the PageInfo I obtain…
According to http://stackoverflow.com/questions/12050743/how-to-find-whether-pdf-has-landscape-orientation-or-portrait, the IsLandscape
property (and IMO the PageInfo.Width/Height) seems not to be correctly infered by Aspose…
I understand that all those Rects are not simple to “integrate” into one “simple final Rect for the Page”. I thought that the PageInfo SHOULD hold the result of this subtle computation…
Which properties should I consider to correctly obtain the Rect to use to configure the PngDevice?