ImageSignature class
Leave feedback
On this page
The class contains image signature properties.
The ImageSignature type exposes the following members:
| Constructor | Description |
|---|---|
| init | Initializes an ImageSignature object with a unique signature identifier obtained from the Sign or Search method of the GroupDocs.Signature class. |
| Method | Description |
|---|---|
| clone | Clone ImageSignature instance. |
| equals | Determines whether the specified signature is equal to this instance. |
| equals_object | |
| get_hash_code | Returns the hash code for the signature. |
| Property | Description |
|---|---|
| content | The binary image data of the signature, in the format specified by ImageSignature.Format. |
| format | The format of the signature image. |
| size | The size in bytes of the signature image. |
| created_on | The signature creation date. (inherited from BaseSignature) |
| deleted | The flag indicating whether this signature was deleted from the document. (inherited from BaseSignature) |
| height | The height of the signature. (inherited from BaseSignature) |
| is_signature | The flag indicating whether this component represents a signature (True) or document content (False). (inherited from BaseSignature) |
| left | The left position of the signature. (inherited from BaseSignature) |
| modified_on | The signature modification date. (inherited from BaseSignature) |
| page_number | The page number where the signature was found. (inherited from BaseSignature) |
| signature_id | The unique identifier of the signature, used to modify the signature in the document via update or delete operations. (inherited from BaseSignature) |
| signature_type | The type of signature. (inherited from BaseSignature) |
| top | The top position of the signature. (inherited from BaseSignature) |
| width | The width of the signature. (inherited from BaseSignature) |
from groupdocs.signature import Signature
from groupdocs.signature.options import ImageSearchOptions
with Signature("signed.pdf") as signature:
result = signature.search([ImageSearchOptions()])
for image in result.signatures:
print(
f"Page {image.page_number}: {image.size} bytes at ({image.left}, {image.top}), "
f"size {image.width}x{image.height}"
)
- module
groupdocs.signature.domain
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.