Summary: Ctors | Methods | Inherited Methods | [Expand All]
public class

# PDFAOptions

extends OptionsBase

java.lang.Object
↳ | com.pdftron.pdf.OptionsBase
| ↳ | com.pdftron.pdf.pdfa.PDFAOptions

## Summary

Public Constructors
| PDFAOptions(int level) Constructor.
| PDFAOptions(String json_string) Constructor.

Public Methods
int | getConformance() Gets the value Conformance from the options object The PDF/A conformance level.
int | getDPI() Gets the value DPI from the options object DPI used for flattening.
boolean | getFirstStop() Gets the value FirstStop from the options object Whether to stop processing after the first PDF/A error is detected.
boolean | getFlattenTransparency() Gets the value FlattenTransparency from the options object Whether to flatten transparency in PDF/A-1 mode.
int | getMaxRefObjs() Gets the value MaxRefObjs from the options object The maximum number of object references per error condition.
String | getPassword() Gets the value Password from the options object The password to be used for encrypted PDF documents.
PDFAOptions | setConformance(int value) Sets the value for Conformance in the options object The PDF/A conformance level.
PDFAOptions | setDPI(int value) Sets the value for DPI in the options object DPI used for flattening.
PDFAOptions | setFirstStop(boolean value) Sets the value for FirstStop in the options object Whether to stop processing after the first PDF/A error is detected.
PDFAOptions | setFlattenTransparency(boolean value) Sets the value for FlattenTransparency in the options object Whether to flatten transparency in PDF/A-1 mode.
PDFAOptions | setMaxRefObjs(int value) Sets the value for MaxRefObjs in the options object The maximum number of object references per error condition.
PDFAOptions | setPassword(String value) Sets the value for Password in the options object The password to be used for encrypted PDF documents.

[Expand] Inherited Methods
From class java.lang.Object
boolean | equals(Object arg0)
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)
final void | wait()

## Public Constructors

#### public PDFAOptions (int level)

Constructor.

##### Parameters

level | The PDF/A conformance level.

##### Throws

PDFNetException |

#### public PDFAOptions (String json_string)

Constructor.

##### Throws

PDFNetException |

## Public Methods

#### public int getConformance ()

Gets the value Conformance from the options object The PDF/A conformance level.

##### Returns

- a int, The PDF/A conformance level.

##### Throws

PDFNetException |

#### public int getDPI ()

Gets the value DPI from the options object DPI used for flattening.

##### Returns

- a int, DPI used for flattening..

##### Throws

PDFNetException |

#### public boolean getFirstStop ()

Gets the value FirstStop from the options object Whether to stop processing after the first PDF/A error is detected.

##### Returns

- a boolean, Whether to stop processing after the first PDF/A error is detected..

##### Throws

PDFNetException |

#### public boolean getFlattenTransparency ()

Gets the value FlattenTransparency from the options object Whether to flatten transparency in PDF/A-1 mode.

##### Returns

- a boolean, Whether to flatten transparency in PDF/A-1 mode..

##### Throws

PDFNetException |

#### public int getMaxRefObjs ()

Gets the value MaxRefObjs from the options object The maximum number of object references per error condition.

##### Returns

- a int, The maximum number of object references per error condition..

##### Throws

PDFNetException |

#### public String getPassword ()

Gets the value Password from the options object The password to be used for encrypted PDF documents.

##### Returns

- a String, The password to be used for encrypted PDF documents..

##### Throws

PDFNetException |

#### public PDFAOptions setConformance (int value)

Sets the value for Conformance in the options object The PDF/A conformance level.

##### Returns

- this object, for call chaining

##### Throws

PDFNetException |

#### public PDFAOptions setDPI (int value)

Sets the value for DPI in the options object DPI used for flattening.

##### Returns

- this object, for call chaining

##### Throws

PDFNetException |

#### public PDFAOptions setFirstStop (boolean value)

Sets the value for FirstStop in the options object Whether to stop processing after the first PDF/A error is detected.

##### Returns

- this object, for call chaining

##### Throws

PDFNetException |

#### public PDFAOptions setFlattenTransparency (boolean value)

Sets the value for FlattenTransparency in the options object Whether to flatten transparency in PDF/A-1 mode.

##### Returns

- this object, for call chaining

##### Throws

PDFNetException |

#### public PDFAOptions setMaxRefObjs (int value)

Sets the value for MaxRefObjs in the options object The maximum number of object references per error condition.

##### Returns

- this object, for call chaining

##### Throws

PDFNetException |

#### public PDFAOptions setPassword (String value)

Sets the value for Password in the options object The password to be used for encrypted PDF documents.

##### Returns

- this object, for call chaining

##### Throws

PDFNetException |