clone method

clone

Clones a Metadata Signature instance.

def clone(self):
    ...

Returns: Returns cloned Metadata Signature instance.

Example

from groupdocs.signature.domain import PdfMetadataSignatures

# Create a new metadata signature based on the predefined AUTHOR signature
author_sig = PdfMetadataSignatures.AUTHOR.clone("Mr. Sherlock Holmes")

clone

Clone Metadata Signature instance with given value.

def clone(self, value):
    ...
Parameter Type Description
value Any Value for new cloned object.

Returns: MetadataSignature: Cloned Metadata Signature instance with given value.

Example

from groupdocs.signature.domain import PdfMetadataSignatures

# Clone an existing metadata signature with a new value
author_sig = PdfMetadataSignatures.AUTHOR.clone("Mr. Sherlock Holmes")

See Also