__init__ constructor

On this page

init

Initializes a new instance of the TextSearchOptions class with default values.

def __init__(self):
    ...

Example

from groupdocs.signature import Signature
from groupdocs.signature.options import TextSearchOptions

with Signature("signed.pdf") as signature:
    # Search for text signatures using default options
    result = signature.search([TextSearchOptions()])
    for text_signature in result.signatures:
        print(f"Found text signature: {text_signature.text}")

init

Initializes a new instance of the TextSearchOptions class with a text value.

def __init__(self, text):
    ...
Parameter Type Description
text str Text of the text signature.

See Also

On this page