Hello Aspose,
if loading a PDF page in landscape the PageInfo is not filled pout correctly:
PageRotationTest.pdf (4.4 KB)
Document doc = new Document(@"c:\temp\PageRotationTest.pdf");
Console.WriteLine("Landscape: {0}, Width: {1}, Height: {2}",
doc.Pages[1].PageInfo.IsLandscape,
doc.Pages[1].PageInfo.Width,
doc.Pages[1].PageInfo.Height);
I get obviously wrong results in console:
Landscape: False, Width: 595, Height: 842
Regards
Gerd