# Uses of Enum
com.evopdf.PdfPageOrientation

- ## Uses of PdfPageOrientation in com.evopdf

  Methods in com.evopdf that return PdfPageOrientation
  Modifier and Type
  Method
  Description
  `static PdfPageOrientation`
  PdfPageOrientation.`getByValue(int val)`
  `PdfPageOrientation`
  PdfPage.`orientation()`
  Gets the PDF page orientation
  `PdfPageOrientation`
  PdfDocumentOptions.`pdfPageOrientation()`
  Gets the page orientation of the pages of the PDF document generated by the HTML to PDF converter.
  `static PdfPageOrientation`
  PdfPageOrientation.`valueOf(String name)`
  Returns the enum constant of this type with the specified name.
  `static PdfPageOrientation[]`
  PdfPageOrientation.`values()`
  Returns an array containing the constants of this enum type, in the order they are declared.
  Methods in com.evopdf with parameters of type PdfPageOrientation
  Modifier and Type
  Method
  Description
  `PdfPage`
  Document.`addPage(PdfPageSize pageSize, PdfMargins pageMargins, PdfPageOrientation pageOrientation)`
  Creates a new PDF page with the specified size, margins and orientation and adds it to the collection
  `PdfPage`
  Document.`addPage(PdfPageSize pageSize, PdfMargins pageMargins, PdfPageOrientation pageOrientation, RotationAngle pageRotation)`
  Creates a new PDF page with the specified size, margins and orientation and adds it to the collection
  `PdfPage`
  Document.`insertPage(int index, PdfPageSize pageSize, PdfMargins pageMargins, PdfPageOrientation pageOrientation)`
  Creates a new PDF page with the specified size, margins and orientation and inserts it into the collection at the specified index
  `PdfPage`
  Document.`insertPage(int index, PdfPageSize pageSize, PdfMargins pageMargins, PdfPageOrientation pageOrientation, RotationAngle pageRotation)`
  Creates a new PDF page with the specified size, margins and orientation and inserts it into the collection at the specified index
  `void`
  PdfDocumentOptions.`setPdfPageOrientation(PdfPageOrientation orientation)`
  Sets the page orientation of the pages of the PDF document generated by the HTML to PDF converter.