Document.SavePreviewMode property (Visio)

Determines whether and how a preview picture is saved in a file. Read/write.

Syntax

expression.SavePreviewMode

expression A variable that represents a Document object.

Return value

VisSavePreviewMode

Remarks

The value of the SavePreviewMode property corresponds to the Save preview picture setting on the Summary tab of the Properties dialog box. (Click the File tab, click Info, click Properties, and then click Advanced Properties.) A preview of the first page appears in the Open dialog box. The value of SavePreviewMode can be one of the following VisSavePreviewMode constants. Selecting the Save preview mode checkbox is equivalent to setting the SavePreviewMode property to visSavePreviewDraft1st, which is the default.

Constant Value Description
visSavePreviewNone 0 No preview picture.
visSavePreviewDraft1st 1 The first page; includes only Visio shapes. Does not include embedded objects, text, or gradient fills.
visSavePreviewDetailed1st 2 The first page; includes all objects.

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.