ApplicationSettings.RasterExportRotation property (Visio)

Determines the rotation 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 BMP, GIF, JPG, PNG, or TIFF file. Read/write.

Syntax

expression.RasterExportRotation

expression An expression that returns an ApplicationSettings object.

Return value

VisRasterExportRotation

Remarks

The value of the RasterExportRotation property must be one of the following VisRasterExportRotation constants.

Constant Value Description
visRasterNoRotation 0 No rotation, the default.
visRasterRotateLeft 1 Rotate left.
visRasterRotateRight 2 Rotate right.

For any given session of Microsoft Visio, when the RasterExportRotation 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 RasterExportRotation property corresponds to the style of rotation selected in the Rotation list in the Output Options dialog box for the corresponding file type in the Microsoft Visio user interface. (Click the File tab, click Save As, in the Save as type list, select the file type, 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.