clone method

On this page

clone

Clone Metadata Signature instance.

def clone(self):
    ...

Returns: PdfMetadataSignature: Cloned Metadata Signature instance.

Example

    from groupdocs.signature.domain import PdfMetadataSignatures

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

## clone {#value}

Clones a PDF metadata signature instance with the given value.

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

Returns: A cloned metadata signature instance.

Example

from groupdocs.signature.domain import PdfMetadataSignatures

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

See Also

On this page