public void setOrientation(PDFOrientationType orientation) {
        this.orientation = orientation;
    }
Sets the orientation of this PDF either LANDSCAPE or PORTRAIT.
@param orientation the PDFOrientation to set
primefaces/src/main/java/org/primefaces/component/export/PDFOptions.java