export_document
Export Visio documents or pages to PNG, PDF, SVG, EMF, or VSDX by setting the output path and format.
Instructions
Export the Visio document or a page to PNG, PDF, SVG, EMF, or VSDX.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | Export format. Must match file extension. | |
| pageIndex | No | 0-based page index. Omit to export all (PDF only). | |
| outputPath | Yes | Absolute path for the output file. |