export_annotations_to_xml_file method
Leave feedback
On this page
Exports annotations from the document to an XML file.
Learn more:
- More about how to import annotations: https://docs.groupdocs.com/display/annotationnet/Import+annotations+from+document
def export_annotations_to_xml_file(self, output_path):
...
| Parameter | Type | Description |
|---|---|---|
| output_path | str |
The output file path (must be in .xml format). |
from groupdocs.annotation import Annotator
def export_annotations_to_xml():
with Annotator("./annotated.pdf") as annotator:
annotator.export_annotations_to_xml_file(output_path="./exported_annotations.xml")
print("Exported annotations to ./exported_annotations.xml.")
- class
Annotator
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.