SaveOptions
Leave feedback
On this page
Inheritance: java.lang.Object
public class SaveOptions
Allows to specify additional options (such as password) when saving annotated document.
| Constructor | Description |
|---|---|
| SaveOptions() |
| Method | Description |
|---|---|
| getAnnotationTypes() | Defines what annotations will be in resultant document. |
| setAnnotationTypes(int value) | Defines what annotations will be in resultant document. |
| getOnlyAnnotatedPages() | Indicates whether to save only annotated pages or not;. |
| setOnlyAnnotatedPages(boolean value) | Indicates whether to save only annotated pages or not;. |
| getFirstPage() | First page number when saving page range. |
| setFirstPage(int value) | First page number when saving page range. |
| getLastPage() | Last page number when saving page range. |
| setLastPage(int value) | Last page number when saving page range. |
| getVersion() | Version Key that will be used to access current version |
| setVersion(Object value) | Version Key that will be used to access current version |
public SaveOptions()
public final int getAnnotationTypes()
Defines what annotations will be in resultant document.
Returns: int -
public final void setAnnotationTypes(int value)
Defines what annotations will be in resultant document.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
public final boolean getOnlyAnnotatedPages()
Indicates whether to save only annotated pages or not;.
Returns: boolean -
public final void setOnlyAnnotatedPages(boolean value)
Indicates whether to save only annotated pages or not;.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean |
public final int getFirstPage()
First page number when saving page range.
Returns: int -
public final void setFirstPage(int value)
First page number when saving page range.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
public final int getLastPage()
Last page number when saving page range.
Returns: int -
public final void setLastPage(int value)
Last page number when saving page range.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
public final Object getVersion()
Version Key that will be used to access current version
Returns: java.lang.Object -
public final void setVersion(Object value)
Version Key that will be used to access current version
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.Object |
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.