# Uses of Enum
com.evopdf.PdfCompressionLevel

- ## Uses of PdfCompressionLevel in com.evopdf

  Methods in com.evopdf that return PdfCompressionLevel
  Modifier and Type
  Method
  Description
  `PdfCompressionLevel`
  Document.`compressionLevel()`
  Gets the PDF document compression level
  `PdfCompressionLevel`
  PdfDocumentOptions.`pdfCompressionLevel()`
  Gets the compression level of the PDF document created by the HTML to PDF converter.
  `static PdfCompressionLevel`
  PdfCompressionLevel.`valueOf(String name)`
  Returns the enum constant of this type with the specified name.
  `static PdfCompressionLevel[]`
  PdfCompressionLevel.`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 PdfCompressionLevel
  Modifier and Type
  Method
  Description
  `void`
  Document.`setCompressionLevel(PdfCompressionLevel compressionLevel)`
  Sets the PDF document compression level.
  `void`
  PdfDocumentOptions.`setPdfCompressionLevel(PdfCompressionLevel compressionLevel)`
  Sets the compression level of the PDF document created by the HTML to PDF converter.