# Uses of Enum
com.evopdf.ColorProfile

- ## Uses of ColorProfile in com.evopdf

  Methods in com.evopdf that return ColorProfile
  Modifier and Type
  Method
  Description
  `ColorProfile`
  PdfDocumentOptions.`colorProfile()`
  Gets the color profile of the PDF document generated by the HTML to PDF converter.
  `static ColorProfile`
  ColorProfile.`valueOf(String name)`
  Returns the enum constant of this type with the specified name.
  `static ColorProfile[]`
  ColorProfile.`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 ColorProfile
  Modifier and Type
  Method
  Description
  `void`
  PdfDocumentOptions.`setColorProfile(ColorProfile colorProfile)`
  Sets the color profile of the PDF document generated by the HTML to PDF converter.
  Constructors in com.evopdf with parameters of type ColorProfile
  Modifier
  Constructor
  Description
  ``
  `Document(boolean useWebService, String webServiceUrl, ColorProfile colorProfile)`
  Creates a PDF document with a color profile
  ``
  `Document(boolean useWebService, String webServiceUrl, PdfStandardSubset pdfSubset, ColorSpace colorSpace, ColorProfile colorProfile)`
  Creates a PDF document based on the specified PDF standard and using the specified color space and color profile using a web service from a given URL.
  ``
  `Document(boolean useWebService, String webServiceUrl, String servicePassword, PdfStandardSubset pdfSubset, ColorSpace colorSpace, ColorProfile colorProfile)`
  Creates a PDF document based on the specified PDF standard and using the specified color space and color profile using a web service from a given URL.
  ``
  `Document(int port, ColorProfile colorProfile)`
  Creates a PDF document with a color profile
  ``
  `Document(ColorProfile colorProfile)`
  Creates a PDF document with a color profile
  ``
  `Document(String server, int port, ColorProfile colorProfile)`
  Creates a PDF document with a color profile
  ``
  `Document(String server, int port, PdfStandardSubset pdfSubset, ColorSpace colorSpace, ColorProfile colorProfile)`
  Creates a PDF document based on the specified PDF standard and using the specified color space and color profile.
  ``
  `Document(String server, int port, String servicePassword, PdfStandardSubset pdfSubset, ColorSpace colorSpace, ColorProfile colorProfile)`
  Creates a PDF document based on the specified PDF standard and using the specified color space and color profile.
  ``
  `Document(String server, ColorProfile colorProfile)`
  Creates a PDF document with a color profile