RasterExportUseTransparencyColor Property
Collapse the table of content
Expand the table of content

ApplicationSettings.RasterExportUseTransparencyColor Property (Visio)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Determines whether Microsoft Visio applies, to the exported image, the transparency color that is specified in the RasterExportTransparencyColor property 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.

expression .RasterExportUseTransparencyColor

expression An expression that returns an ApplicationSettings object.

Return Value


The default is False, which means that Microsoft Visio does not apply the transparency color to the page on export.

For any given session of Microsoft Visio, when the RasterExportUseTransparencyColor 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 RasterExportUseTransparencyColor property corresponds to whether the Transparency color box in the GIF Output Options or the PNG Output Options dialog box is selected. (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