# Uses of Enum
com.evopdf.RotationAngle

- ## Uses of RotationAngle in com.evopdf

  Methods in com.evopdf that return RotationAngle
  Modifier and Type
  Method
  Description
  `static RotationAngle`
  RotationAngle.`getByValue(int val)`
  `RotationAngle`
  PdfPage.`rotationAngle()`
  Gets the PDF page rotation angle
  `static RotationAngle`
  RotationAngle.`valueOf(String name)`
  Returns the enum constant of this type with the specified name.
  `static RotationAngle[]`
  RotationAngle.`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 RotationAngle
  Modifier and Type
  Method
  Description
  `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, RotationAngle pageRotation)`
  Creates a new PDF page with the specified size, margins and orientation and inserts it into the collection at the specified index