Export a document

Exports the document to a specified format, including PNG, JPEG, SVG, PDF, TIFF, and other supported formats.