Aspose::Pdf::Page::GetPageRect method

Page::GetPageRect method

Returns rectangle of the page according to its CropBox (or MediaBox if CropBox null).

System::SharedPtr<Aspose::Pdf::Rectangle> Aspose::Pdf::Page::GetPageRect(bool considerRotation)
ParameterTypeDescription
considerRotationboolIf true then rotation of the page will be considered in rect calculation.

ReturnValue

Rectangle of the page.

See Also