Table of contents
TOC
Collapse the table of content
Expand the table of content

ApplicationSettings.RasterExportRotation Property (Visio)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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.

ConstantValueDescription
visRasterNoRotation0No rotation, the default.
visRasterRotateLeft1Rotate left.
visRasterRotateRight2Rotate 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.)

© 2018 Microsoft