InvisibleApp.SetPreviewEnabled method (Visio)
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 InvisibleApp object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
GalleryName | Required | String | The name of the gallery for which to set the preview status. |
OnOrOff | Required | Boolean | True 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 https://msdn.microsoft.com/library.
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for