ApplicationEvents.OnDisplayModeChange Event
Parent Object: ApplicationEventsDescription
The OnDisplayModeChange event notifies a client when the display mode of a view has changed.
Remarks
The display mode defines whether the view is displayed as wireframe, shaded with hidden edges, or shaded with no hidden edges shown. The current display mode of the view can be determined by using the DisplayMode property of the View object returned by the ViewObject argument.Syntax
ApplicationEvents.OnDisplayModeChange( ViewObject As View, BeforeOrAfter As EventTimingEnum, Context As NameValueMap, HandlingCode As HandlingCodeEnum )Parameters
Name | Type | Description |
ViewObject | View | The View object whose display mode is being changed. |
BeforeOrAfter | EventTimingEnum | Input EventTimingEnum indicating if the event is being fired before (kBefore) or after (kAfter) the view mode is changed. Notification is sent before and after the display mode is changed. |
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. |