次の方法で共有


RasterExportQuality Property

Determines the export quality 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 JPG file. Read/write.

Version Information

Version Added: Visio 2010

Syntax

expression .RasterExportQuality

expression An expression that returns an ApplicationSettings object.

Return Value

Long

Remarks

The default setting of the RasterExportQuality property is 75%. The range of values is between 0% and 100%. Set the property value to a Long that corresponds to the quality percentage that you want.

For any given session of Microsoft Visio, when the RasterExportQuality 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 RasterExportQuality property corresponds to the Quality setting in the JPG Output Options dialog box in the Microsoft Visio user interface. (Click the File tab, click Save As, in the Save as type list, select JPEG File Interchange Format (*.jpg), and then click Save.)