ApplicationSettings.RasterExportUseTransparencyColor property (Visio)

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.

Syntax

expression.RasterExportUseTransparencyColor

expression An expression that returns an ApplicationSettings object.

Return value

Boolean

Remarks

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

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.