ApplicationEvents.OnDeactivateDocument Event
Parent Object: ApplicationEventsDescription
The OnDeactivateDocument event notifies a client when a document is deactivated.
Syntax
ApplicationEvents.OnDeactivateDocument( DocumentObject As Document, BeforeOrAfter As EventTimingEnum, Context As NameValueMap, HandlingCode As HandlingCodeEnum )Parameters
Name | Type | Description |
DocumentObject | Document | The object that is being deactivated. |
BeforeOrAfter | EventTimingEnum | Input indicating if the event is being fired before (kBefore) or after (kAfter) the document is deactivated. Notification is sent before and after the document is deactivated. |
Context | NameValueMap | Input object that can be used to determine the context of why the event fired. No context information is provided for this event. |
HandlingCode | HandlingCodeEnum | Output that indicates how you are handling the event. The value of this argument is currently ignored for this event. This argument is ignored for this event. |