export_document
Export Visio documents or pages to PNG, PDF, SVG, EMF, or VSDX. Specify output path and format, with optional page index for PDF exports.
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. |