InvisibleApp.GetPreviewEnabled method (Visio)
Returns a value that indicates whether preview is enabled for the specified gallery in the Microsoft Visio user interface.
Syntax
expression.GetPreviewEnabled (GalleryName)
expression A variable that represents an InvisibleApp 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
Remarks
For the GalleryName parameter, you must pass the control ID for the specified gallery. To download a list of control IDs for all Visio galleries, see Office 2016 Help Files: Office Fluent User Interface Control Identifiers.
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.