TextSignature class
Leave feedback
On this page
The TextSignature class contains text signature properties.
The TextSignature type exposes the following members:
| Constructor | Description |
|---|---|
| init | Initializes a TextSignature object with the unique signature identifier obtained from a sign or search operation. |
| Method | Description |
|---|---|
| clone | Clones Text Signature instance. |
| equals | Compares the specified signature with this instance for equality. |
| equals_object | |
| get_hash_code | Returns the hash code for the signature. |
| Property | Description |
|---|---|
| native | The native attribute indicating whether the signature is document‑specific. |
| signature_implementation | The text signature implementation. |
| text | The text of the signature. |
| 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 TextSearchOptions
with Signature("signed.pdf") as signature:
result = signature.search([TextSearchOptions()])
for text_sig in result.signatures:
print(f"Text: {text_sig.text}, Position: ({text_sig.left}, {text_sig.top}), Size: {text_sig.width}x{text_sig.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.