I can quite figure this one out I was hoping I could get some help. What I want to do is be able to detect the page orientation and display the page correctly in landscape in the viewer. We mostly have portrait pages but occasionally there are landscape pages.
Also I currently have code to write annotation along the right edge of the page using the spirepdf for .net but I want to be able to ensure that the annotation is placed correctly if the page is landscape.
If this is not feasible an alternative would be to have all of the pages set to portrait but allow the user to rotate the page in the viewer. Either way I'm just trying to understand how the SDK handles the page rotation for an existing file in the viewer.
Thanks!