Signature
Inheritance: java.lang.Object
public class Signature
Represents main class that controls document signing process.
Learn more
- More about GroupDocs.Signature features: GroupDocs.Signature Developer Guide
Constructors
Constructor | Description |
---|---|
Signature(InputStream document) | Initializes new instance of Signature class with document provided by stream. |
Signature(InputStream document, LoadOptions loadOptions) | Initializes new instance of Signature class with document provided by stream and load options LoadOptions (#getLoadOptions.getLoadOptions/#setLoadOptions(LoadOptions).setLoadOptions(LoadOptions)). |
Signature(InputStream document, SignatureSettings settings) | Initializes new instance of Signature class instance with document provided by stream and SignatureSettings. |
Signature(InputStream document, LoadOptions loadOptions, SignatureSettings settings) | Initializes new instance of Signature class instance with document provided by stream, load options LoadOptions (#getLoadOptions.getLoadOptions/#setLoadOptions(LoadOptions).setLoadOptions(LoadOptions)) and settings SignatureSettings. |
Signature(String filePath) | Initializes new instance of Signature class instance with document provided by file path. |
Signature(String filePath, LoadOptions loadOptions) | Initializes new instance of Signature class instance with document provided by file path and LoadOptions (#getLoadOptions.getLoadOptions/#setLoadOptions(LoadOptions).setLoadOptions(LoadOptions)). |
Signature(String filePath, SignatureSettings settings) | Initializes new instance of Signature class instance with document provided by file path and SignatureSettings. |
Signature(String filePath, LoadOptions loadOptions, SignatureSettings settings) | Initializes new instance of Signature class instance with document provided by file path, LoadOptions (#getLoadOptions.getLoadOptions/#setLoadOptions(LoadOptions).setLoadOptions(LoadOptions)) and SignatureSettings. |
Methods
Method | Description |
---|---|
sign(OutputStream document, SignOptions signOptions) | Signs document with SignOptions and saves result to a stream. |
sign(OutputStream document, SignOptions signOptions, SaveOptions saveOptions) | Signs document with SignOptions and saves result to a stream with predefined SaveOptions. |
sign(OutputStream document, List |
Signs document with collection of SignOptions and saves result to a stream. |
sign(OutputStream document, List |
Signs document with collection of SignOptions and saves result to a stream with predefined SaveOptions. |
sign(String filePath, SignOptions signOptions) | Signs document with SignOptions and saves result to specified file path. |
sign(String filePath, SignOptions signOptions, SaveOptions saveOptions) | Signs document with SignOptions and saves result to specified file path with predefined SaveOptions. |
sign(String filePath, List |
Signs document with collection of SignOptions and saves result to specified file path. |
sign(String filePath, List |
Signs document with collection of SignOptions and saves result to specified file path with predefined SaveOptions. |
verify(VerifyOptions verifyOptions) | Verifies the document signatures with given VerifyOptions data. |
verify(List |
Verifies the document signatures with list of VerifyOptions data. |
getDocumentInfo() | Gets information about document pages: their sizes, maximum page height, the width of a page with the maximum height. |
generatePreview(PreviewOptions previewOptions) | Generates document pages preview. |
search(List |
Searches for signatures in a document by SearchOptions list. |
Searches for signatures in a document by SearchOptions options. | |
Searches for exact type of signatures in the document by SignatureType value. | |
search(int[] signatureTypes) | Searches for specified signature types in the document by SignatureType value. |
update(OutputStream document, BaseSignature signature) | Updates passed signature BaseSignature in the document. |
update(OutputStream document, List |
Updates passed signatures BaseSignature in the document. |
update(String filePath, List |
Updates passed signatures BaseSignature in the document. |
update(String filePath, BaseSignature signature) | Updates passed signatures BaseSignature in the document. |
delete(OutputStream document, BaseSignature signature) | Deletes passed signature BaseSignature from the document. |
delete(OutputStream document, List |
Deletes passed list of signatures BaseSignature from the document. |
delete(String filePath, BaseSignature signature) | Deletes passed signature BaseSignature from the document. |
delete(String filePath, List |
Deletes passed list of signatures BaseSignature from the document. |
delete(OutputStream document, int signatureType) | Deletes signatures of the certain type SignatureType from the document. |
deleteByTypes(OutputStream document, List |
Deletes the signatures of the certain types list SignatureType from the document. |
delete(String filePath, int signatureType) | Deletes signatures of the certain type SignatureType from the document. |
deleteByTypes(String filePath, List |
Deletes the signatures of the certain types list SignatureType from the document. |
delete(String signatureId) | Deletes signature by its specific signature Id from the document. |
delete(List |
Deletes passed list of signatures BaseSignature from the document. |
generateSignaturePreview(PreviewSignatureOptions previewOptions) | Generates Signature preview based on given SignOptions. |
dispose() | Implement IDisposable interface to clean up internal resources |
Signature(InputStream document)
public Signature(InputStream document)
Initializes new instance of Signature class with document provided by stream.
Parameters:
Parameter | Type | Description |
---|---|---|
document | java.io.InputStream | The document content stream. |
Learn more
- More about file types supported by GroupDocs.Signature: Document formats supported by GroupDocs.Signature
- More about GroupDocs.Signature for Java features: Developer Guide
Developer Guide: https://docs.groupdocs.com/signature/java/developer-guide/ |
Signature(InputStream document, LoadOptions loadOptions)
public Signature(InputStream document, LoadOptions loadOptions)
Initializes new instance of Signature class with document provided by stream and load options LoadOptions (#getLoadOptions.getLoadOptions/#setLoadOptions(LoadOptions).setLoadOptions(LoadOptions)).
Parameters:
Parameter | Type | Description |
---|---|---|
document | java.io.InputStream | The document content stream. |
loadOptions | LoadOptions | The document load options. |
Learn more
- More about file types supported by GroupDocs.Signature: Document formats supported by GroupDocs.Signature
- More about GroupDocs.Signature for Java features: Developer Guide
- More about how to open and eSign password-protected documents and document from different storages: [Load and eSign documents using GroupDocs.Signature][]
[Load and eSign documents using GroupDocs.Signature]: https://docs.groupdocs.com/signature/java/loading/ |
Signature(InputStream document, SignatureSettings settings)
public Signature(InputStream document, SignatureSettings settings)
Initializes new instance of Signature class instance with document provided by stream and SignatureSettings.
Parameters:
Parameter | Type | Description |
---|---|---|
document | java.io.InputStream | The document content stream. |
settings | SignatureSettings | The signature settings. |
Learn more
- More about file types supported by GroupDocs.Signature: Document formats supported by GroupDocs.Signature
- More about GroupDocs.Signature for Java features: Developer Guide
Developer Guide: https://docs.groupdocs.com/signature/java/developer-guide/ |
Signature(InputStream document, LoadOptions loadOptions, SignatureSettings settings)
public Signature(InputStream document, LoadOptions loadOptions, SignatureSettings settings)
Initializes new instance of Signature class instance with document provided by stream, load options LoadOptions (#getLoadOptions.getLoadOptions/#setLoadOptions(LoadOptions).setLoadOptions(LoadOptions)) and settings SignatureSettings.
Parameters:
Parameter | Type | Description |
---|---|---|
document | java.io.InputStream | The document content stream. |
loadOptions | LoadOptions | The document load options. |
settings | SignatureSettings | The signature settings. |
Learn more
- More about file types supported by GroupDocs.Signature: Document formats supported by GroupDocs.Signature
- More about GroupDocs.Signature for Java features: Developer Guide
- More about how to open and eSign password-protected documents and document from different storages: [Load and eSign documents using GroupDocs.Signature][]
[Load and eSign documents using GroupDocs.Signature]: https://docs.groupdocs.com/signature/java/loading/ |
Signature(String filePath)
public Signature(String filePath)
Initializes new instance of Signature class instance with document provided by file path.
Parameters:
Parameter | Type | Description |
---|---|---|
filePath | java.lang.String | Absolute or relative file path. |
Learn more
- More about file types supported by GroupDocs.Signature: Document formats supported by GroupDocs.Signature
- More about GroupDocs.Signature for Java features: Developer Guide
Developer Guide: https://docs.groupdocs.com/signature/java/developer-guide/ |
Signature(String filePath, LoadOptions loadOptions)
public Signature(String filePath, LoadOptions loadOptions)
Initializes new instance of Signature class instance with document provided by file path and LoadOptions (#getLoadOptions.getLoadOptions/#setLoadOptions(LoadOptions).setLoadOptions(LoadOptions)).
Parameters:
Parameter | Type | Description |
---|---|---|
filePath | java.lang.String | Absolute or relative file path. |
loadOptions | LoadOptions | The document load options. |
Learn more
- More about file types supported by GroupDocs.Signature: Document formats supported by GroupDocs.Signature
- More about GroupDocs.Signature for Java features: Developer Guide
- More about how to open and eSign password-protected documents and document from different storages: [Load and eSign documents using GroupDocs.Signature][]
[Load and eSign documents using GroupDocs.Signature]: https://docs.groupdocs.com/signature/java/loading/ |
Signature(String filePath, SignatureSettings settings)
public Signature(String filePath, SignatureSettings settings)
Initializes new instance of Signature class instance with document provided by file path and SignatureSettings.
Parameters:
Parameter | Type | Description |
---|---|---|
filePath | java.lang.String | Absolute or relative file path. |
settings | SignatureSettings | The signature settings. |
Learn more
- |
Signature(String filePath, LoadOptions loadOptions, SignatureSettings settings)
public Signature(String filePath, LoadOptions loadOptions, SignatureSettings settings)
Initializes new instance of Signature class instance with document provided by file path, LoadOptions (#getLoadOptions.getLoadOptions/#setLoadOptions(LoadOptions).setLoadOptions(LoadOptions)) and SignatureSettings.
Parameters:
Parameter | Type | Description |
---|---|---|
filePath | java.lang.String | Absolute or relative file path. |
loadOptions | LoadOptions | The document load options. |
settings | SignatureSettings | The signature settings. |
Learn more
- More about file types supported by GroupDocs.Signature: Document formats supported by GroupDocs.Signature
- More about GroupDocs.Signature for Java features: Developer Guide
Developer Guide: https://docs.groupdocs.com/signature/java/developer-guide/ |
sign(OutputStream document, SignOptions signOptions)
public final SignResult sign(OutputStream document, SignOptions signOptions)
Signs document with SignOptions and saves result to a stream.
Parameters:
Parameter | Type | Description |
---|---|---|
document | java.io.OutputStream | The output document stream. |
signOptions | SignOptions | The signature options. |
Learn more
- More about electronic signature types supported by GroupDocs.Signature: Electronic signature types supported by GroupDocs.Signature
- More about how eSign documents in Java: How to eSign documents using GroupDocs.Signature
How to eSign documents using GroupDocs.Signature: https://docs.groupdocs.com/signature/java/signing/ |
Returns: SignResult - Returns instance of SignResult with list of newly created signatures.
sign(OutputStream document, SignOptions signOptions, SaveOptions saveOptions)
public final SignResult sign(OutputStream document, SignOptions signOptions, SaveOptions saveOptions)
Signs document with SignOptions and saves result to a stream with predefined SaveOptions.
Parameters:
Parameter | Type | Description |
---|---|---|
document | java.io.OutputStream | The output document stream. |
signOptions | SignOptions | The signature options. |
saveOptions | SaveOptions | The save options. |
Learn more
- More about electronic signature types supported by GroupDocs.Signature: Electronic signature types supported by GroupDocs.Signature
- More about how eSign documents in Java: How to eSign documents using GroupDocs.Signature
- More about how save electronically signed documents and customize saving process: [How to customize electronically signed documents on save using GroupDocs.Signature][]
[How to customize electronically signed documents on save using GroupDocs.Signature]: https://docs.groupdocs.com/signature/java/saving/ |
Returns: SignResult - Returns instance of SignResult with list of newly created signatures.
sign(OutputStream document, List signOptionsList)
public final SignResult sign(OutputStream document, List<SignOptions> signOptionsList)
Signs document with collection of SignOptions and saves result to a stream.
Parameters:
Parameter | Type | Description |
---|---|---|
document | java.io.OutputStream | The output document stream. |
signOptionsList | java.util.List<com.groupdocs.signature.options.sign.SignOptions> | The list of signature options. |
Learn more
- More about electronic signature types supported by GroupDocs.Signature: Electronic signature types supported by GroupDocs.Signature
- More about how eSign documents in Java: How to eSign documents using GroupDocs.Signature
How to eSign documents using GroupDocs.Signature: https://docs.groupdocs.com/signature/java/signing/ |
Returns: SignResult - Returns instance of SignResult with list of newly created signatures.
sign(OutputStream document, List signOptionsList, SaveOptions saveOptions)
public final SignResult sign(OutputStream document, List<SignOptions> signOptionsList, SaveOptions saveOptions)
Signs document with collection of SignOptions and saves result to a stream with predefined SaveOptions.
Parameters:
Parameter | Type | Description |
---|---|---|
document | java.io.OutputStream | The output document stream. |
signOptionsList | java.util.List<com.groupdocs.signature.options.sign.SignOptions> | The list of signature options. |
saveOptions | SaveOptions | The save options. |
Learn more
- More about electronic signature types supported by GroupDocs.Signature: Electronic signature types supported by GroupDocs.Signature
- More about how eSign documents in Java: How to eSign documents using GroupDocs.Signature
- More about how save electronically signed documents and customize saving process: [How to customize electronically signed documents on save using GroupDocs.Signature][]
[How to customize electronically signed documents on save using GroupDocs.Signature]: https://docs.groupdocs.com/signature/java/saving/ |
Returns: SignResult - Returns instance of SignResult with list of newly created signatures.
sign(String filePath, SignOptions signOptions)
public final SignResult sign(String filePath, SignOptions signOptions)
Signs document with SignOptions and saves result to specified file path.
Parameters:
Parameter | Type | Description |
---|---|---|
filePath | java.lang.String | The output file path. |
signOptions | SignOptions | The signature options. |
Learn more
- More about electronic signature types supported by GroupDocs.Signature: Electronic signature types supported by GroupDocs.Signature
- More about how eSign documents in Java: How to eSign documents using GroupDocs.Signature
How to eSign documents using GroupDocs.Signature: https://docs.groupdocs.com/signature/java/signing/ |
Returns: SignResult - Returns instance of SignResult with list of newly created signatures.
sign(String filePath, SignOptions signOptions, SaveOptions saveOptions)
public final SignResult sign(String filePath, SignOptions signOptions, SaveOptions saveOptions)
Signs document with SignOptions and saves result to specified file path with predefined SaveOptions.
Parameters:
Parameter | Type | Description |
---|---|---|
filePath | java.lang.String | The output file path. |
signOptions | SignOptions | The signature options. |
saveOptions | SaveOptions | The save options. |
Learn more
- More about electronic signature types supported by GroupDocs.Signature: Electronic signature types supported by GroupDocs.Signature
- More about how eSign documents in Java: How to eSign documents using GroupDocs.Signature
- More about how save electronically signed documents and customize saving process: [How to customize electronically signed documents on save using GroupDocs.Signature][]
[How to customize electronically signed documents on save using GroupDocs.Signature]: https://docs.groupdocs.com/signature/java/saving/ |
Returns: SignResult - Returns instance of SignResult with list of newly created signatures.
sign(String filePath, List signOptionsList)
public final SignResult sign(String filePath, List<SignOptions> signOptionsList)
Signs document with collection of SignOptions and saves result to specified file path.
Parameters:
Parameter | Type | Description |
---|---|---|
filePath | java.lang.String | The output file path. |
signOptionsList | java.util.List<com.groupdocs.signature.options.sign.SignOptions> | The list of signature options. |
Learn more
- More about electronic signature types supported by GroupDocs.Signature: Electronic signature types supported by GroupDocs.Signature
- More about how eSign documents in Java: How to eSign documents using GroupDocs.Signature
How to eSign documents using GroupDocs.Signature: https://docs.groupdocs.com/signature/java/signing/ |
Returns: SignResult -
sign(String filePath, List signOptionsList, SaveOptions saveOptions)
public final SignResult sign(String filePath, List<SignOptions> signOptionsList, SaveOptions saveOptions)
Signs document with collection of SignOptions and saves result to specified file path with predefined SaveOptions.
Parameters:
Parameter | Type | Description |
---|---|---|
filePath | java.lang.String | The output file path. |
signOptionsList | java.util.List<com.groupdocs.signature.options.sign.SignOptions> | The list of signature options. |
saveOptions | SaveOptions | The save options. |
Learn more
- More about electronic signature types supported by GroupDocs.Signature: Electronic signature types supported by GroupDocs.Signature
- More about how eSign documents in Java: How to eSign documents using GroupDocs.Signature
- More about how save electronically signed documents and customize saving process: [How to customize electronically signed documents on save using GroupDocs.Signature][]
[How to customize electronically signed documents on save using GroupDocs.Signature]: https://docs.groupdocs.com/signature/java/saving/ |
Returns: SignResult - Returns instance of SignResult with list of newly created signatures.
verify(VerifyOptions verifyOptions)
public final VerificationResult verify(VerifyOptions verifyOptions)
Verifies the document signatures with given VerifyOptions data.
Parameters:
Parameter | Type | Description |
---|---|---|
verifyOptions | VerifyOptions | The signature verification options. |
Learn more
- More about electronically signed documents verification using GroupDocs.Signature: [How to verify document is electronically signed in Java][]
[How to verify document is electronically signed in Java]: https://docs.groupdocs.com/signature/java/verify-document-for-signatures/ |
Returns: VerificationResult - Returns instance of VerificationResult. Property VerificationResult.IsValid returns true if verification process was successful.
verify(List verifyOptionsList)
public final VerificationResult verify(List<VerifyOptions> verifyOptionsList)
Verifies the document signatures with list of VerifyOptions data.
Parameters:
Parameter | Type | Description |
---|---|---|
verifyOptionsList | java.util.List<com.groupdocs.signature.options.verify.VerifyOptions> | The signature verification options collection. Instance of VerifyOptionsCollection. |
Learn more
- More about electronically signed documents verification using GroupDocs.Signature: [How to verify document is electronically signed in Java][]
[How to verify document is electronically signed in Java]: https://docs.groupdocs.com/signature/java/verify-document-for-signatures/ |
Returns: VerificationResult - Returns instance of VerificationResult. Property VerificationResult.IsValid returns true if verification process was successful.
getDocumentInfo()
public final IDocumentInfo getDocumentInfo()
Gets information about document pages: their sizes, maximum page height, the width of a page with the maximum height.
Returns: IDocumentInfo - Information about document.
Learn more
- Learn more about signed document - file type, pages count and many other format specific properties: How to get document properties in Java
generatePreview(PreviewOptions previewOptions)
public final void generatePreview(PreviewOptions previewOptions)
Generates document pages preview.
Parameters:
Parameter | Type | Description |
---|---|---|
previewOptions | PreviewOptions | The preview options. |
Learn more
- Learn more about how to generate previews for document pages: [How to generate document pages preview using GroupDocs.Signature][]
[How to generate document pages preview using GroupDocs.Signature]: https://docs.groupdocs.com/signature/java/generate-document-pages-preview/ |
search(List searchOptionsList)
public final SearchResult search(List<SearchOptions> searchOptionsList)
Searches for signatures in a document by SearchOptions list.
Parameters:
Parameter | Type | Description |
---|---|---|
searchOptionsList | java.util.List<com.groupdocs.signature.options.search.SearchOptions> | The search options collection. |
Learn more
- More about search electronic signatures in a documents using GroupDocs.Signature: How to search for electronic signatures inside document using Java
- More about electronic signatures search dependent on eSign type: [Advanced use cases of electronic signatures search with GroupDocs.Signature][]
[Advanced use cases of electronic signatures search with GroupDocs.Signature]: https://docs.groupdocs.com/signature/java/searching/ |
Returns: SearchResult - Returns instance of SearchResult with list of found Signatures.
search(Class typeOfT, SearchOptions searchOptions)
public final List<T> <T>search(Class<T> typeOfT, SearchOptions searchOptions)
Searches for signatures in a document by SearchOptions options.
Parameters:
Parameter | Type | Description |
---|---|---|
typeOfT | java.lang.Class |
|
searchOptions | SearchOptions | The search options. |
Learn more
- More about search electronic signatures in a documents using GroupDocs.Signature: How to search for electronic signatures inside document using Java
- More about electronic signatures search dependent on eSign type: [Advanced use cases of electronic signatures search with GroupDocs.Signature][]
[Advanced use cases of electronic signatures search with GroupDocs.Signature]: https://docs.groupdocs.com/signature/java/searching/ |
Returns:
java.util.List
search(Class typeOfT, int signatureType)
public final List<T> <T>search(Class<T> typeOfT, int signatureType)
Searches for exact type of signatures in the document by SignatureType value.
Parameters:
Parameter | Type | Description |
---|---|---|
typeOfT | java.lang.Class |
|
signatureType | int | The type of signatures to search. |
Learn more
- More about search electronic signatures in a documents using GroupDocs.Signature: How to search for electronic signatures inside document using Java
- More about electronic signatures search dependent on eSign type: [Advanced use cases of electronic signatures search with GroupDocs.Signature][]
[Advanced use cases of electronic signatures search with GroupDocs.Signature]: https://docs.groupdocs.com/signature/java/searching/ |
Returns:
java.util.List
search(int[] signatureTypes)
public final SearchResult search(int[] signatureTypes)
Searches for specified signature types in the document by SignatureType value.
Parameters:
Parameter | Type | Description |
---|---|---|
signatureTypes | int[] | One or several types of signatures to find. |
Learn more
- More about search electronic signatures in a documents using GroupDocs.Signature: How to search for electronic signatures inside document using Java
- More about electronic signatures search dependent on eSign type: [Advanced use cases of electronic signatures search with GroupDocs.Signature][]
[Advanced use cases of electronic signatures search with GroupDocs.Signature]: https://docs.groupdocs.com/signature/java/searching/ |
Returns: SearchResult - Returns instance of SearchResult with list of found signatures.
update(OutputStream document, BaseSignature signature)
public final boolean update(OutputStream document, BaseSignature signature)
Updates passed signature BaseSignature in the document.
Parameters:
Parameter | Type | Description |
---|---|---|
document | java.io.OutputStream | The output document stream. |
signature | BaseSignature | Signature object to be updated in the document. |
Learn more
- More about how to update existing electronic signature properties using GroupDocs.Signature: How to update document eSignatures in Java
- More advanced use cases of updating document electronic signatures dependent on signature type: [Advanced use cases of electronic signatures update with GroupDocs.Signature][]
[Advanced use cases of electronic signatures update with GroupDocs.Signature]: https://docs.groupdocs.com/signature/java/updating/ |
Returns: boolean - Returns true if operation was successful.
update(OutputStream document, List signatures)
public final UpdateResult update(OutputStream document, List<BaseSignature> signatures)
Updates passed signatures BaseSignature in the document.
Parameters:
Parameter | Type | Description |
---|---|---|
document | java.io.OutputStream | The output document stream. |
signatures | java.util.List<com.groupdocs.signature.domain.signatures.BaseSignature> | List of signatures to update in the document. |
Learn more
- More about how to update existing electronic signature properties using GroupDocs.Signature: How to update document eSignatures in Java
- More advanced use cases of updating document electronic signatures dependent on signature type: [Advanced use cases of electronic signatures update with GroupDocs.Signature][]
[Advanced use cases of electronic signatures update with GroupDocs.Signature]: https://docs.groupdocs.com/signature/java/updating/ |
Returns: UpdateResult - Returns UpdateResult UpdateResult with list of successfully updated signatures and failed ones.
update(String filePath, List signatures)
public final UpdateResult update(String filePath, List<BaseSignature> signatures)
Updates passed signatures BaseSignature in the document.
Parameters:
Parameter | Type | Description |
---|---|---|
filePath | java.lang.String | The output file path. |
signatures | java.util.List<com.groupdocs.signature.domain.signatures.BaseSignature> | List of signatures to update in the document. |
Learn more
- More about how to update existing electronic signature properties using GroupDocs.Signature: How to update document eSignatures in Java
- More advanced use cases of updating document electronic signatures dependent on signature type: [Advanced use cases of electronic signatures update with GroupDocs.Signature][]
[Advanced use cases of electronic signatures update with GroupDocs.Signature]: https://docs.groupdocs.com/signature/java/updating/ |
Returns: UpdateResult - Returns UpdateResult UpdateResult with list of successfully updated signatures and failed ones.
update(String filePath, BaseSignature signature)
public final boolean update(String filePath, BaseSignature signature)
Updates passed signatures BaseSignature in the document.
Parameters:
Parameter | Type | Description |
---|---|---|
filePath | java.lang.String | The output file path. |
signature | BaseSignature | Signature object to be updated in the document. |
Learn more
- More about how to update existing electronic signature properties using GroupDocs.Signature: How to update document eSignatures in Java
- More advanced use cases of updating document electronic signatures dependent on signature type: [Advanced use cases of electronic signatures update with GroupDocs.Signature][]
[Advanced use cases of electronic signatures update with GroupDocs.Signature]: https://docs.groupdocs.com/signature/java/updating/ |
Returns: boolean - Returns UpdateResult UpdateResult with list of successfully updated signatures and failed ones.
delete(OutputStream document, BaseSignature signature)
public final boolean delete(OutputStream document, BaseSignature signature)
Deletes passed signature BaseSignature from the document.
Parameters:
Parameter | Type | Description |
---|---|---|
document | java.io.OutputStream | The output document stream. |
signature | BaseSignature | Signature object to be removed from the document. |
Learn more
- More about how to delete electronic signature from document in Java: How to delete eSignature from document with GroupDocs.Signature
- Advanced use cases of deleting document eSignatures: [How to delete different types of eSignatures from document in Java][]
[How to delete different types of eSignatures from document in Java]: https://docs.groupdocs.com/signature/java/deleting/ |
Returns: boolean - Returns true if operation was successful.
delete(OutputStream document, List signatures)
public final DeleteResult delete(OutputStream document, List<BaseSignature> signatures)
Deletes passed list of signatures BaseSignature from the document.
Parameters:
Parameter | Type | Description |
---|---|---|
document | java.io.OutputStream | The output document stream. |
signatures | java.util.List<com.groupdocs.signature.domain.signatures.BaseSignature> | List of signatures to remove from the document. |
Learn more
- More about how to delete electronic signature from document in Java: How to delete eSignature from document with GroupDocs.Signature
- Advanced use cases of deleting document eSignatures: [How to delete different types of eSignatures from document in Java][]
[How to delete different types of eSignatures from document in Java]: https://docs.groupdocs.com/signature/java/deleting/ |
Returns: DeleteResult - Returns DeleteResult DeleteResult with list of successfully deleted signatures and failed ones.
delete(String filePath, BaseSignature signature)
public final boolean delete(String filePath, BaseSignature signature)
Deletes passed signature BaseSignature from the document.
Parameters:
Parameter | Type | Description |
---|---|---|
filePath | java.lang.String | The output file path. |
signature | BaseSignature | Signature object to be removed from the document. |
Learn more
- More about how to delete electronic signature from document in Java: How to delete eSignature from document with GroupDocs.Signature
- Advanced use cases of deleting document eSignatures: [How to delete different types of eSignatures from document in Java][]
[How to delete different types of eSignatures from document in Java]: https://docs.groupdocs.com/signature/java/deleting/ |
Returns: boolean - Returns true if operation was successful.
delete(String filePath, List signatures)
public final DeleteResult delete(String filePath, List<BaseSignature> signatures)
Deletes passed list of signatures BaseSignature from the document.
Parameters:
Parameter | Type | Description |
---|---|---|
filePath | java.lang.String | The output file path. |
signatures | java.util.List<com.groupdocs.signature.domain.signatures.BaseSignature> | List of signatures to remove from the document. |
Learn more
- More about how to delete electronic signature from document in Java: How to delete eSignature from document with GroupDocs.Signature
- Advanced use cases of deleting document eSignatures: [How to delete different types of eSignatures from document in Java][]
[How to delete different types of eSignatures from document in Java]: https://docs.groupdocs.com/signature/java/deleting/ |
Returns: DeleteResult - Returns DeleteResult DeleteResult with list of successfully deleted signatures and failed ones.
delete(OutputStream document, int signatureType)
public final DeleteResult delete(OutputStream document, int signatureType)
Deletes signatures of the certain type SignatureType from the document. Only signatures that were added by Sign method and marked as Signatures BaseSignature.isSignature() (BaseSignature.isSignature/BaseSignature.setSignature(boolean)) will be removed. Following signature types are supported: Text, Image, Digital, Barcode, QR-Code
Parameters:
Parameter | Type | Description |
---|---|---|
document | java.io.OutputStream | The output document stream. |
signatureType | int | The type of signatures to be removed from the document. |
Learn more
- More about how to delete electronic signature from document in Java: How to delete eSignatures with specific type from document with GroupDocs.Signature
- Advanced use cases of deleting document eSignatures: [How to delete different types of eSignatures from document in Java][]
[How to delete different types of eSignatures from document in Java]: https://docs.groupdocs.com/signature/java/deleting/ |
Returns: DeleteResult - Returns DeleteResult DeleteResult with list of successfully deleted signatures and failed ones.
deleteByTypes(OutputStream document, List signatureTypes)
public final DeleteResult deleteByTypes(OutputStream document, List<Integer> signatureTypes)
Deletes the signatures of the certain types list SignatureType from the document. Only signatures that were added by Sign method and marked as Signatures BaseSignature.isSignature() (BaseSignature.isSignature/BaseSignature.setSignature(boolean)) will be removed. Following signature types are supported: Text, Image, Digital, Barcode, QR-Code
Parameters:
Parameter | Type | Description |
---|---|---|
document | java.io.OutputStream | The output document stream. |
signatureTypes | java.util.List<java.lang.Integer> | The list of signatures types to be removed from the document. |
Learn more
- More about how to delete electronic signature from document in Java: How to delete eSignature from document with GroupDocs.Signature
- Advanced use cases of deleting document eSignatures: [How to delete different types of eSignatures from document in Java][]
[How to delete different types of eSignatures from document in Java]: https://docs.groupdocs.com/signature/java/deleting/ |
Returns: DeleteResult - Returns DeleteResult DeleteResult with list of successfully deleted signatures and failed ones.
delete(String filePath, int signatureType)
public final DeleteResult delete(String filePath, int signatureType)
Deletes signatures of the certain type SignatureType from the document. Only signatures that were added by Sign method and marked as Signatures BaseSignature.isSignature() (BaseSignature.isSignature/BaseSignature.setSignature(boolean)) will be removed. Following signature types are supported: Text, Image, Digital, Barcode, QR-Code
Parameters:
Parameter | Type | Description |
---|---|---|
filePath | java.lang.String | The output file path. |
signatureType | int | The type of signatures to be removed from the document. |
Learn more
- More about how to delete electronic signature from document in Java: How to delete eSignatures with specific type from document with GroupDocs.Signature
- Advanced use cases of deleting document eSignatures: [How to delete different types of eSignatures from document in Java][]
[How to delete different types of eSignatures from document in Java]: https://docs.groupdocs.com/signature/java/deleting/ |
Returns: DeleteResult - Returns DeleteResult DeleteResult with list of successfully deleted signatures and failed ones.
deleteByTypes(String filePath, List signatureTypes)
public final DeleteResult deleteByTypes(String filePath, List<Integer> signatureTypes)
Deletes the signatures of the certain types list SignatureType from the document. Only signatures that were added by Sign method and marked as Signatures BaseSignature.isSignature() (BaseSignature.isSignature/BaseSignature.setSignature(boolean)) will be removed. Following signature types are supported: Text, Image, Digital, Barcode, QR-Code
Parameters:
Parameter | Type | Description |
---|---|---|
filePath | java.lang.String | The output file path. |
signatureTypes | java.util.List<java.lang.Integer> | The list of signatures types to be removed from the document. |
Learn more
- More about how to delete electronic signature from document in Java: How to delete eSignature from document with GroupDocs.Signature
- Advanced use cases of deleting document eSignatures: [How to delete different types of eSignatures from document in Java][]
[How to delete different types of eSignatures from document in Java]: https://docs.groupdocs.com/signature/java/deleting/ |
Returns: DeleteResult - Returns DeleteResult DeleteResult with list of successfully deleted signatures and failed ones.
delete(String signatureId)
public final boolean delete(String signatureId)
Deletes signature by its specific signature Id from the document.
Parameters:
Parameter | Type | Description |
---|---|---|
signatureId | java.lang.String | The Id of the signature to be removed from the document. |
Learn more
- More about how to delete electronic signature from document in Java: How to delete eSignature from document with GroupDocs.Signature
- Advanced use cases of deleting document eSignatures: [How to delete different types of eSignatures from document in C#][How to delete different types of eSignatures from document in C]
[How to delete different types of eSignatures from document in C]: https://docs.groupdocs.com/signature/java/Deleting |
Returns: boolean - Returns true if operation was successful.
delete(List signatureIds)
public final DeleteResult delete(List<String> signatureIds)
Deletes passed list of signatures BaseSignature from the document.
Parameters:
Parameter | Type | Description |
---|---|---|
signatureIds | java.util.List<java.lang.String> | List of the identifiers of the signatures to be removed from the document. |
Learn more /// /// /// More about how to delete electronic signature from document in Java: /// How to delete eSignature from document with GroupDocs.Signature /// /// /// Advanced use cases of deleting document eSignatures: /// [How to delete different types of eSignatures from document in C#][How to delete different types of eSignatures from document in C] /// /// ///
[How to delete different types of eSignatures from document in C]: https://docs.groupdocs.com/signature/java/Deleting |
Returns: DeleteResult - Returns DeleteResult DeleteResult with list of successfully deleted signatures and failed ones.
generateSignaturePreview(PreviewSignatureOptions previewOptions)
public static void generateSignaturePreview(PreviewSignatureOptions previewOptions)
Generates Signature preview based on given SignOptions. SignOptions
Parameters:
Parameter | Type | Description |
---|---|---|
previewOptions | PreviewSignatureOptions | The preview signature with given SignOptions. PreviewSignatureOptions |
Learn more
- Learn more about how to generate previews of the signatures: |
dispose()
public final void dispose()
Implement IDisposable interface to clean up internal resources