__init__ constructor

On this page

init

Initializes a new ExportManager with the given metadata properties.

def __init__(self, properties):
    ...
Parameter Type Description
properties Iterable[MetadataProperty] Iterable[MetadataProperty] – A collection of metadata properties to be exported.

Example

from groupdocs.metadata import Metadata
from groupdocs.metadata.export import ExportManager, ExportFormat

with Metadata("input.pdf") as metadata:
    properties = list(metadata.find_properties(lambda p: True))
    ExportManager(properties).export("export.xlsx", ExportFormat.XLSX)

See Also

On this page