getBounds

Return

the bounds of the format for the given orientation If, for instance, the document is landscape and the given format is portrait, the format is converted to landscape.

Parameters

orientation

orientation of the page