public class CsConverterProperties extends Object
ICsConverter
.
Constructor and Description |
---|
CsConverterProperties(ColorConversionMode conversionMode) |
Modifier and Type | Method and Description |
---|---|
ColorConversionMode |
getConversionMode() |
com.itextpdf.kernel.pdf.PdfOutputIntent |
getOutputIntent()
Gets output intent instance which will be used for replacing original PDF output intent when converting the color space.
|
CsConverterProperties |
setOutputIntent(com.itextpdf.kernel.pdf.PdfOutputIntent outputIntent)
Sets output intent instance which will be used for replacing original PDF output intent when converting the color space.
|
public CsConverterProperties(ColorConversionMode conversionMode)
public CsConverterProperties setOutputIntent(com.itextpdf.kernel.pdf.PdfOutputIntent outputIntent)
ColorConversionMode.NORMAL
mode is enabled and PDF\A document was passed for color conversion, otherwise PdfOptimizerException
exception will be thrown. Also, if document didn't have output intent originally, then output intent will not be put to such document.
outputIntent
- the output intent instance to set
public com.itextpdf.kernel.pdf.PdfOutputIntent getOutputIntent()
setOutputIntent(PdfOutputIntent)
method is required when ColorConversionMode.NORMAL
mode is enabled and PDF\A document was passed for color conversion, otherwise PdfOptimizerException
exception will be thrown. Also, if document didn't have output intent originally, then output intent will not be put to such document.
public ColorConversionMode getConversionMode()
Copyright © 1998–2022 iText Group NV. All rights reserved.