Page.GetPageRect

Page.GetPageRect method

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

public Rectangle GetPageRect(bool considerRotation)
ParameterTypeDescription
considerRotationBooleanIf true then rotation of the page will be considered in rect calculation.

Return Value

Rectangle of the page.

See Also