Expand Minimize
This topic has not yet been rated - Rate this topic

ApplicationSettings.RasterExportBackgroundColor Property (Visio)

Published: July 16, 2012

Determines the background color 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, GIF, JPG, PNG, or TIFF file. Read/write.

Version Added: Visio 2010

expression .RasterExportBackgroundColor

expression An expression that returns an ApplicationSettings object.

Return Value

OLE_COLOR

The value of the RasterExportBackgroundColor property must be a valid OLE_COLOR color. The default setting for a given session of Microsoft Visio is RGB(255, 255,255), which means that Visio applies a white background color on export.

For any session of Visio, when the RasterExportBackgroundColor 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 RasterExportBackgroundColor property corresponds to the background color selected in the BMP Output Options, GIF Output Options, JPG Output Options, PNG 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), Graphics Interchange Format (*.gif), JPEG File Interchange Format (*.jpg), Portable Network Graphics (*.png), or Tag Image File Format (*.tif), and then click Save.)

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.