Table of contents
Collapse the table of content
Expand the table of content

ApplicationSettings.RasterExportDataCompression Property (Visio)

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Determines the data compression algorithm that is applied to the exported image when you call the Export method of the Master , Page , Selection , or Shape object to export the specified object to a BMP or TIFF file. Read/write.


expression . RasterExportDataCompression

expression An expression that returns an ApplicationSettings object.

Return Value



The value of the RasterExportDataCompression property must be one of the following VisRasterExportDataCompression constants.

ConstantValueDescriptionApplicable File Format
visRasterNone0No compression, the default for BMP.BMP
visRasterRLE1RLE compression.BMP
visRasterGroup32Group 3 compression.TIFF
visRasterPackbits3Packbits compression.TIFF
visRasterGroup44Group 4 compression.TIFF
visRasterLZW5LZW compression.TIFF
visRasterModifiedHuffman6Modified Huffman compression.TIFF

For any given session of Microsoft Visio, when the RasterExportDataCompression property value is set, either programmatically or in the user interface, the setting then becomes the new default for the remainder of the session. However, it is not persisted to the next session.

The setting of the RasterExportDataCompression property corresponds to the Data compression setting in the BMP Output Options or TIFF Output Options dialog box. (Click the File tab, click Save As, in the Save as type list, select Windows Bitmap (*.bmp; *.dib) or Tag Image File Format (*.tif), and then click Save.)

© 2018 Microsoft