편집

다음을 통해 공유


ApplicationSettings.RasterExportDataCompression property (Visio)

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.

Syntax

expression.RasterExportDataCompression

expression An expression that returns an ApplicationSettings object.

Return value

VisRasterExportDataCompression

Remarks

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

Constant Value Description Applicable File Format
visRasterNone 0 No compression, the default for BMP. BMP
visRasterRLE 1 RLE compression. BMP
visRasterGroup3 2 Group 3 compression. TIFF
visRasterPackbits 3 Packbits compression. TIFF
visRasterGroup4 4 Group 4 compression. TIFF
visRasterLZW 5 LZW compression. TIFF
visRasterModifiedHuffman 6 Modified 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.)

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.