public class LoadOptions extends Object
Allows to specify additional options (such as password) when opening a document to sign.
| Constructor and Description |
|---|
LoadOptions()
Initializes a new instance of LoadOptions class.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getLoadExternalResources()
Gets or sets options that specifies if external document resources should be loaded.
|
String |
getPassword()
Gets or sets password to open a protected document.
|
Integer |
getPermissions()
The PDF document permissions such as printing, modification and data extraction.
|
void |
setLoadExternalResources(boolean value)
Gets or sets options that specifies if external document resources should be loaded.
|
void |
setPassword(String value)
Gets or sets password to open a protected document.
|
void |
setPermissions(Integer value)
Internal setter, used by document load processors to record permissions parsed from the file.
|
public LoadOptions()
Initializes a new instance of LoadOptions class.
public final boolean getLoadExternalResources()
Gets or sets options that specifies if external document resources should be loaded. This option with disabled value (false) allows to save loading time for the documents with many or large external resource links. By default value is enabled (true).
public final String getPassword()
Gets or sets password to open a protected document. It will be also used to save signed document as protected.
public final Integer getPermissions()
The PDF document permissions such as printing, modification and data extraction.
Only for PDF documents. Read-only — populated automatically while loading the document.
The value is a flags combination from Permissions.
public final void setLoadExternalResources(boolean value)
Gets or sets options that specifies if external document resources should be loaded. This option with disabled value (false) allows to save loading time for the documents with many or large external resource links. By default value is enabled (true).
public final void setPassword(String value)
Gets or sets password to open a protected document. It will be also used to save signed document as protected.
public final void setPermissions(Integer value)
Copyright © 2026. All rights reserved.