JODF > Tutorial > Set page size and orientation

The following example shows you how to set page size and orientation.