Export (0) Print
Expand All

Application.GetPreviewEnabled Method (Visio)

Returns a value that indicates whether preview is enabled for the specified gallery in the Microsoft Visio user interface.

Version Added: Visio 2010

expression .GetPreviewEnabled(GalleryName)

expression A variable that represents an Application object.

Parameters

Name

Required/Optional

Data Type

Description

GalleryName

Required

String

The name of the gallery for which you want to check the preview status. See Remarks.

Return Value

Boolean

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.

Show:
© 2015 Microsoft