RasterExportOperation Property
Determines the export operation 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 .RasterExportOperation
expression An expression that returns an ApplicationSettings object.
Return Value
Remarks
The value of the RasterExportOperation property must be one of the following VisRasterExportOperation constants.
Constant |
Value |
Description |
---|---|---|
visRasterBaseline |
0 |
Baseline operation, the default. |
visRasterProgressive |
1 |
Progressive operation. |
For any given session of Microsoft Visio, when the RasterExportOperation 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 RasterExportOperation property corresponds to the Operation 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.)