Do you want the MediaBox?
Rectangle mediabox = reader.GetPageSize(page);
Do you want the rotation?
int rotation = reader.GetPageRotation(page);
Do you want the combination of both?
Rectangle pagesize = reader.GetPageSizeWithRotation(page);
Do you want the CropBox?
Rectangle cropbox = reader.GetCropBox(page);
These are some methods that will give you information about the dimensions of a page.
Most of them return an object of type
Rectangle that has methods such as
getHeight() to get the width and the height of the page.
Other useful methods are
getRight() as well as
getBottom(). These four methods return the
y coordinates that define the boundaries of your page.