export method
Leave feedback
On this page
Exports the metadata properties to a file.
def export(self, file_path, format, export_options):
...
| Parameter | Type | Description |
|---|---|---|
| file_path | str |
The full name of the output file. |
| format | ExportFormat |
The format of the output file. |
| export_options | ExportOptions |
Additional options to use when exporting a document. |
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)
Exports the metadata properties to a stream.
def export(self, document, format, export_options):
...
| Parameter | Type | Description |
|---|---|---|
| document | io.RawIOBase |
The full name of the output file. |
| format | ExportFormat |
The format of the output file. |
| export_options | ExportOptions |
Additional options to use when exporting a document. |
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)
Exports the metadata properties to a file.
def export(self, file_path, format):
...
| Parameter | Type | Description |
|---|---|---|
| file_path | str |
The full name of the output file. |
| format | ExportFormat |
The format of the output file. |
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)
Exports the metadata properties to a stream.
def export(self, document, format):
...
| Parameter | Type | Description |
|---|---|---|
| document | io.RawIOBase |
The full name of the output file. |
| format | ExportFormat |
The format of the output file. |
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)
- class
ExportManager
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.