Document.AfterRemoveHiddenInformation event (Visio)

Occurs when hidden information is removed from the document.

Syntax

expression.AfterRemoveHiddenInformation (doc)

expression An expression that returns a Document object.

Parameters

Name Required/Optional Data type Description
doc Required [IVDOCUMENT] The document from which hidden information has been removed.

Remarks

The AfterRemoveHiddenInformation event is one of a group of events for which the EventInfo property of the Application object contains extra information.

When the AfterRemoveHiddenInformation event is fired, the EventInfo property returns a string that contains information about which items were removed from the document, consisting of the sum of applicable constant values from the VisRemoveHiddenInfoItems enumeration.

If you are using Microsoft Visual Basic or Visual Basic for Applications (VBA), the syntax in this topic describes a common, efficient way to handle events.

If you want to create your own Event objects, use the Add or AddAdvise method.

To create an Event object that runs an add-on, use the Add method as it applies to the EventList collection.

To create an Event object that receives notification, use the AddAdvise method.

To find an event code for the event that you want to create, see Event codes.

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.