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

Application.SetPreviewEnabled Method (Visio)

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

Turns preview on or off for a gallery in the Microsoft Visio user interface.

Syntax

expression . SetPreviewEnabled( GalleryName , OnOrOff )

expression A variable that represents an Application object.

Parameters

NameRequired/OptionalData TypeDescription
GalleryNameRequiredStringThe name of the gallery for which you want to set the preview status. See Remarks.
OnOrOffRequiredBooleanTrue to turn preview on for the specified gallery; False to turn preview off.

Return Value

Nothing

Remarks

For the GalleryName parameter, you must pass the control ID for the specified gallery. You can find a list of control IDs for all Visio galleries by searching the MSDN library at http://msdn.microsoft.com/library.

© 2017 Microsoft