We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Where is ActualRect?

The documentation for Page.Rect says:

To get page rectangle considering rotation please use ActualRect.

Where is ActualRect? What object is it on? Is it a property or a method?


There is no such property or method with the name of ActualRect. However, thanks for bringing this into account. We will further improve the documentation and remove this so that it cannot create any confusion in future. We apologize for the confusion caused.

So what do we use to get the page bounds accounting for rotation?


The method Page.GetPageRect(bool considerRotation) can be used for the purpose. If considerRotation = true, then rectangle will be modified using rotation matrix.

Oh great thank you!