Muokkaa

Jaa


ApplicationSettings.RasterExportQuality property (Visio)

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.

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

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.