Collapse the table of content
Expand the table of content
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

RasterExportDataFormat Property

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.

Version Added: Visio 2010

expression .RasterExportDataFormat

expression An expression that returns an ApplicationSettings object.

Return Value

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






Interlace format, the default.



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.)

© 2016 Microsoft