ratioPageSize
Returns a rectangle whose dimensions fit within maxPageSize without changing orientation or aspect ratio. Sizes that already fit are returned at their original dimensions.
Throws
if this size or maxPageSize is empty
Returns a rectangle whose dimensions fit within maxPageSize without changing orientation or aspect ratio. Sizes that already fit are returned at their original dimensions.
if this size or maxPageSize is empty