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

InvisibleApp.GetPreviewEnabled Method (Visio)

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

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


expression . GetPreviewEnabled( GalleryName )

expression A variable that represents an InvisibleApp object.


NameRequired/OptionalData TypeDescription
GalleryNameRequiredStringThe name of the gallery for which you want to check the preview status. See Remarks.

Return Value



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

© 2018 Microsoft