maxPageSize

get page size with biggest dimension (width in vertical mode and height in horizontal mode)

Return

size of page