Convert Visio

NOTE: This action will be globally available June 2022

Overview

The 'Convert Visio' Power Automate action allows you to convert the following file format:

  • VSD
  • VSDX
  • VSX
  • VTX
  • VDX
  • VSSX
  • VSTX
  • VSDM
  • VSSM
  • VSTM

To the following file formats:

  • PDF
  • BMP
  • GIF
  • HTML
  • JPG
  • PNG
  • SVG
  • TIFF
  • VSDX

Default Parameters

The default 'Convert Visio' flow action parameters are detailed below which are contextual based on the selected Output format:

  • Output Format: Select the output format
  • Filename: The filename (including file extension) of the file to be converted.
  • File Content: A Base64 encoded representation of the CAD file to be processed.

mceclip0.png

Advanced Parameters

The advanced 'Convert Visio' flow action parameters are detailed below:

Example: PDF Output

mceclip1.png

All output formats:

  • Page Width: Set the width of the page
  • Page Height: Set the height of the page
  • Background Colour: Set the background colour
  • Draw Type: Sets whether to override the original colours
  • Draw Colour: Set the colour of the drawing
  • Automatic Scaling: Set whether auto-layout scaling should be performed to matching the model layout

PDF Format:

  • Default Font: Set the default font for elements where a font has not been defined or the specified font is unavailable
  • Include Hidden Pages: Set whether hidden pages should be converted, false by default
  • JPEG Quality: The value may vary from 0 to 100 where 0 is the lowest quality
  • Page Count: Set the number of pages to convert, default is the total page count
  • Page Index: Set the first page to convert from
  • Page Size: Manually set the page size of the document
  • Save Foreground Pages: Discard saving background pages
  • PDF/A Compliance: Sets whether the resulting document should conform to PDF/A format
  • PDF/A Compliance Level: Sets the required level of PDF/A compliance

BMP / GIF / JPG / PNG:

Note: Only the first page of the source file will be converted for these output formats

  • Brightness: Sets the image brightness
  • Colour Mode: Set the image colour mode
  • Compositing Quality: Specify the quality level to use during compositing
  • Contrast: Set the image contrast
  • Default Font: Set the default font for elements where a font has not been defined or the specified font is unavailable
  • Interpolation Mode: Specify the algorithm that is used when images are scaled or rotated
  • Page Index: Set the first page to convert from
  • Page Size: Manually set the page size of the document
  • Pixel Offset Mode: Set how pixels are offset during rendering
  • Resolution: Set image resolution in dots per inch. The default value is 96
  • Scale: Set the image scale factor
  • Smoothing Mode: Specify whether smoothing (anti-aliasing) is applied to lines, curves and the edges of filled areas

JPG:

  • JPEG Quality: The value may vary from 0 to 100 where 0 is the lowest quality

HTML:

  • Default Font: Set the default font for elements where a font has not been defined or the specified font is unavailable
  • Include Hidden Pages: Set whether hidden pages should be converted, false by default
  • Page Count: Set the number of pages to convert, default is the total page count
  • Page Index: Set the first page to convert from
  • Page Size: Manually set the page size of the document
  • Save Foreground Pages: Discard saving background pages
  • Save Toolbar: Set whether to include the toolbar, default value is false

SVG:

  • Default Font: Set the default font for elements where a font has not been defined or the specified font is unavailable
  • Page Index: Set the first page to convert from
  • Page Size: Manually set the page size of the document

TIFF:

  • Brightness: Sets the image brightness
  • Colour Mode: Set the image colour mode
  • Compositing Quality: Specify the quality level to use during compositing
  • Contrast: Set the image contrast
  • Default Font: Set the default font for elements where a font has not been defined or the specified font is unavailable
  • Include Hidden Pages: Set whether hidden pages should be converted, false by default
  • Interpolation Mode: Specify the algorithm that is used when images are scaled or rotated
  • Page Count: Set the number of pages to convert, default is the total page count
  • Page Index: Set the first page to convert from
  • Page Size: Manually set the page size of the document
  • Pixel Offset Mode: Set how pixels are offset during rendering
  • Resolution: Set image resolution in dots per inch. The default value is 96
  • Save Foreground Pages: Discard saving background pages
  • Scale: Set the image scale factor
  • Smoothing Mode: Specify whether smoothing (anti-aliasing) is applied to lines, curves and the edges of filled areas
  • TIFF Compression: Set the TIFF compression type

Return Parameters

The 'Convert Visio' flow action returns the following data. 

Action Specific Return Values

  • File Content - The converted file (Base64)

Standard Return Values

  • OperationId - The unique ID assigned to this operation.
  • HttpStatusCode - The HTTP Status code for the response.
  • HttpStatusMessage - The HTTP Status message for the response.
  • Errors - An array of error messages should an error occur.
  • Operation Status - Indicates whether the operation has completed, has been queued or has failed.

 

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk