Page.GetPageRect
Page.GetPageRect method
Returns rectangle of the page according to its CropBox (or MediaBox if CropBox null).
public Rectangle GetPageRect(bool considerRotation)
Parameter | Type | Description |
---|---|---|
considerRotation | Boolean | If true then rotation of the page will be considered in rect calculation. |
Return Value
Rectangle of the page.
See Also
- class Rectangle
- class Page
- namespace Aspose.Pdf
- assembly Aspose.PDF