PdfOptions
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.conversion.contracts.ValueObject
All Implemented Interfaces: java.io.Serializable
public final class PdfOptions extends ValueObject implements Serializable
Options for conversion to Pdf file type.
| Constructor | Description |
|---|---|
| PdfOptions() | ctor |
| Method | Description |
|---|---|
| getPdfFormat() | Sets the pdf format of the converted document. |
| setPdfFormat(PdfFormats value) | Sets the pdf format of the converted document. |
| getRemovePdfACompliance() | Removes Pdf-A Compliance |
| setRemovePdfACompliance(boolean value) | Removes Pdf-A Compliance |
| getZoom() | Specifies the zoom level in percentage. |
| setZoom(int value) | Specifies the zoom level in percentage. |
| getLinearize() | Linearizes PDF Document for the Web |
| setLinearize(boolean value) | Linearizes PDF Document for the Web |
| getOptimizationOptions() | Pdf optimization options |
| setOptimizationOptions(PdfOptimizationOptions value) | Pdf optimization options |
| getGrayscale() | Convert a PDF from RGB colorspace to grayscale |
| setGrayscale(boolean value) | Convert a PDF from RGB colorspace to grayscale |
| getFormattingOptions() | Pdf formatting options |
| setFormattingOptions(PdfFormattingOptions value) | Pdf formatting options |
| getDocumentInfo() | Meta information of PDF document. |
| setDocumentInfo(PdfDocumentInfo documentInfo) |
public PdfOptions()
ctor
public final PdfFormats getPdfFormat()
Sets the pdf format of the converted document.
Returns: PdfFormats
public final void setPdfFormat(PdfFormats value)
Sets the pdf format of the converted document.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | PdfFormats |
public final boolean getRemovePdfACompliance()
Removes Pdf-A Compliance
Returns: boolean
public final void setRemovePdfACompliance(boolean value)
Removes Pdf-A Compliance
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean |
public final int getZoom()
Specifies the zoom level in percentage. Default is 100.
Returns: int
public final void setZoom(int value)
Specifies the zoom level in percentage. Default is 100.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
public final boolean getLinearize()
Linearizes PDF Document for the Web
Returns: boolean
public final void setLinearize(boolean value)
Linearizes PDF Document for the Web
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean |
public final PdfOptimizationOptions getOptimizationOptions()
Pdf optimization options
Returns: PdfOptimizationOptions
public final void setOptimizationOptions(PdfOptimizationOptions value)
Pdf optimization options
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | PdfOptimizationOptions |
public final boolean getGrayscale()
Convert a PDF from RGB colorspace to grayscale
Returns: boolean
public final void setGrayscale(boolean value)
Convert a PDF from RGB colorspace to grayscale
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean |
public final PdfFormattingOptions getFormattingOptions()
Pdf formatting options
Returns: PdfFormattingOptions
public final void setFormattingOptions(PdfFormattingOptions value)
Pdf formatting options
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | PdfFormattingOptions |
public PdfDocumentInfo getDocumentInfo()
Meta information of PDF document.
Returns: PdfDocumentInfo
public void setDocumentInfo(PdfDocumentInfo documentInfo)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| documentInfo | PdfDocumentInfo |
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.