QrCodeSignature class

QrCodeSignature class

Represents QR-code signature properties.

The QrCodeSignature type exposes the following members:

Constructors

Constructor Description
init Initializes a QrCodeSignature object with a signature identifier obtained after a search process.

Methods

Method Description
clone Clones QR-Code Signature instance.
equals Determines whether the given signature object is equal to this instance.
equals_object
get_data
get_data
get_data_idata_encryption
get_hash_code Overrides the GetHashCode method.

Properties

Property Description
content The QR-code binary data image content of type QrCodeSignature.format.
encode_type The QR-code encode type.
format The format of the QR-code signature image.
text The text of the QR-code.
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)

Example

from groupdocs.signature import Signature
from groupdocs.signature.options import QrCodeSearchOptions

with Signature("signed.pdf") as signature:
    result = signature.search([QrCodeSearchOptions()])
    if result.signatures:
        qr = result.signatures[0]
        print(qr.text, qr.encode_type.type_name, qr.left, qr.top)

See Also