次の方法で共有


RasterExportUseTransparencyColor Property

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.

Version Information

Version Added: Visio 2010

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