Document.SavePreviewMode 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 whether and how a preview picture is saved in a file. Read/write.

expression .SavePreviewMode

expression A variable that represents a Document object.

Return Value

VisSavePreviewMode

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.

Show: