RasterExportQuality Property
TOC
Collapse the table of content
Expand the table of content

ApplicationSettings.RasterExportQuality Property (Visio)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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.

expression .RasterExportQuality

expression An expression that returns an ApplicationSettings object.

Return Value

Long

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

Show:
© 2016 Microsoft