PageControl.getPdfOrientation

Returns the PDF orientation, portrait or landscape, when a page is included in a PDF.

Further documentation.

returns java.lang.String