ApplicationSettings.RasterExportDataFormat property (Visio)

Determines whether the exported raster image is interlaced or non-interlaced when you call the Export method of the Master, Page, Selection, or Shape object to export the specified object to a GIF or PNG file. Read/write.

Syntax

expression.RasterExportDataFormat

expression An expression that returns an ApplicationSettings object.

Return value

VisRasterExportDataFormat

Remarks

The value of the RasterExportDataFormat property must be one of the following VisRasterExportDataFormat constants.

Constant Value Description
visRasterInterlace 0 Interlace format, the default.
visRasterNonInterlace 1 Non-interlace format.

For any given session of Microsoft Visio, when the RasterExportDataFormat 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 RasterExportDataFormat property corresponds to the Data format setting in the GIF Output Options or PNG Output Options dialog box. (Click the File tab, click Save As, in the Save as type list, select Graphics Interchange Format (*.gif) or Portable Network Graphics (*.png), 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.