public class ImageSignature extends BaseSignature
Contains Image signature properties.
| Constructor and Description |
|---|
ImageSignature()
Initialize ImageSignature with default parameters.
|
ImageSignature(String signatureId)
Initialize ImageSignature object with signature identifier that was obtained after search process.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
deepClone()
Clone Barcode Signature instance.
|
boolean |
equals(Object signature)
Overwrites Equals method to compare signature properties
|
byte[] |
getContent()
|
FileType |
getFormat()
Specifies the format of signature image.
|
int |
getSize()
Specifies the size in bytes of signature image.
|
int |
hashCode()
Overrides GetHashCode method
|
void |
setFormat(FileType value)
Specifies the format of signature image.
|
void |
setSize(int value)
Specifies the size in bytes of signature image.
|
getCreatedOn, getDeleted, getHeight, getLeft, getModifiedOn, getPageNumber, getSignatureId, getSignatureType, getTop, getWidth, isSignature, setCreatedOn, setHeight, setLeft, setModifiedOn, setPageNumber, setSignature, setTop, setWidth, supportMetaInfoLayer, toStringpublic ImageSignature()
Initialize ImageSignature with default parameters.
public ImageSignature(String signatureId)
Initialize ImageSignature object with signature identifier that was obtained after search process. This unique identifier is used to find additional properties for this signature from document signature information layer.
signatureId - Unique signature identifier obtained by Sign or Search method of Signature class Signature.public Object deepClone()
Clone Barcode Signature instance.
deepClone in class BaseSignaturepublic boolean equals(Object signature)
Overwrites Equals method to compare signature properties
equals in class BaseSignaturesignature - Signature object to compare with.public final byte[] getContent()
Specifies image binary data content of type Format(getFormat()/setFormat(FileType)).
By default this property will not be set.
Use property ImageSearchOptions.ReturnContent({ ImageSearchOptions#getReturnContent}/{ ImageSearchOptions#setReturnContent(boolean)}) to enable this feature.
public final FileType getFormat()
Specifies the format of signature image.
public final int getSize()
Specifies the size in bytes of signature image.
public int hashCode()
Overrides GetHashCode method
hashCode in class BaseSignaturepublic final void setFormat(FileType value)
Specifies the format of signature image.
public final void setSize(int value)
Specifies the size in bytes of signature image.
Copyright © 2024. All rights reserved.