MetadataSignature class

MetadataSignature class

The metadata signature properties.

The MetadataSignature type exposes the following members:

Methods

Method Description
clone Clones a Metadata Signature instance.
clone Clone Metadata Signature instance with given value.
clone_object
equals Determines whether the specified signature is equal to this instance.
equals_object
get_data
get_data
get_data_idata_encryption
get_hash_code Returns the hash code for the metadata signature.
to_boolean Converts to boolean.
to_date_time Converts the metadata signature value to a datetime.
to_date_time Converts the metadata signature value to a datetime.
to_date_time_iformat_provider
to_decimal Converts the metadata signature value to Decimal.
to_decimal Converts the metadata signature value to a Decimal.
to_decimal_iformat_provider
to_double Converts the metadata signature value to a float.
to_double Converts to Double.
to_double_iformat_provider
to_integer Converts the metadata signature value to an integer.
to_single Converts the metadata signature value to a float.
to_single Converts to float.
to_single_iformat_provider
to_string Converts the metadata signature to a string.
to_string Converts the metadata signature to a string using the specified format.
to_string Converts to string with specified format.
to_string_file
to_string_string

Properties

Property Description
data_encryption The implementation of IDataEncryption used to encode and decode signature value properties.
name The unique metadata name.
type The metadata value type.
value The metadata object.
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 MetadataSearchOptions

with Signature("signed.pdf") as signature:
    result = signature.search([MetadataSearchOptions()])
    for metadata in result.signatures:
        print(f"{metadata.name} = {metadata.value} ({metadata.type.name})")

See Also