TextVerifyOptions class
Leave feedback
On this page
Keeps options to verify document Text signature.
Learn more:
- Basic usage of verification for Barcode electronic signature by GroupDocs.Signature: How to eVerification Barcode signatures in a document
- Advanced usage of settings of verification for Barcode electronic signature with GroupDocs.Signature: Advanced usage of eVerification Barcode signatures in a document and additional settings
The TextVerifyOptions type exposes the following members:
| Constructor | Description |
|---|---|
| init | Initializes a new instance of the TextVerifyOptions with default values. |
| init | Initializes a new instance of the TextVerifyOptions with verification text. |
| init | Initializes a new TextVerifyOptions instance with the text to verify and the signature implementation type. |
| Property | Description |
|---|---|
| form_text_field_title | The title of the form field to verify. If set, the text will be found only in text form fields. |
| form_text_field_type | The type of form field to verify; if set, text will be found only in text form fields. |
| match_type | The text match type verification. |
| signature_id | The Text Signature ID to verify. Must be greater than zero; supported only for PDF documents. |
| signature_implementation | The type of signature to be verified. |
| text | The signature text to verify. |
| all_pages | The flag indicating whether each document page should be verified. By default the value is True. (inherited from VerifyOptions) |
| extensions | The additional extensions for alternative signature options verification. (inherited from VerifyOptions) |
| is_valid | The valid property flag. (inherited from VerifyOptions) |
| page_number | The document page number to be verified; if not set, all pages of the document are verified for the first occurrence (minimum value is 1). (inherited from VerifyOptions) |
| pages_setup | The page options to specify pages to be verified. (inherited from VerifyOptions) |
| shape_position | The shape position in the document layout used for verifying signatures in headers/footers. (inherited from VerifyOptions) |
from groupdocs.signature import Signature
from groupdocs.signature.options import TextVerifyOptions
def verify_text_signature():
with Signature("signed.pdf") as signature:
options = TextVerifyOptions("John Smith")
result = signature.verify(options)
print(f"Document is signed by John Smith: {result.is_valid}")
if __name__ == "__main__":
verify_text_signature()
Task guides that use TextVerifyOptions:
- module
groupdocs.signature.options
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.