Export a page to a file
visio_export_pageExports a Visio page to an image file. Specify the destination path and optionally the page, document, or maximum pixel size for raster formats.
Instructions
Write a page to an image file on disk.
The extension picks the format; Visio handles .png, .jpg, .gif, .bmp, .tif, .svg and .emf.
Args: path: Destination file path. Relative paths resolve against the server's working directory. page: Page name or 1-based index. Omit for the page on screen. document: File name or 1-based index. Omit for the active document. max_pixels: Longest edge for raster formats.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| path | Yes | ||
| document | No | ||
| max_pixels | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| path | Yes | ||
| bytes | Yes | ||
| format | Yes | ||
| document | Yes |