The GwxDocument type exposes the following members.

Events

  NameDescription
Public eventAnimationStarted
Occurs after a display has started animating.
Public eventAnimationStarting
Occurs before a display starts animating.
Public eventAnimationStopped
Occurs after a display has stopped animating.
Public eventAnimationStopping
Occurs before a display stops animating.
Public eventBeginPrint
Occurs before the first page of the current display prints.
Public eventChanged
Occurs when the Freezable or an object it contains is modified.
(Inherited from Freezable.)
Public eventCurrentCultureChanged
Occurs when the current CultureInfo provided by Language Aliasing has changed.
Public eventDataReady
This event occurs when all subscribed data tags have intialially received good quality data values.

This event only occurs once. It will only occur again if ALL data tags are unsubscribed and re-subscribed. In other words, this event will only happen once in the lifetime of an HMI display, unless the HMI display exits runtime mode and then subsequently re-enters runtime mode (if only a subset of tags are unsubscribed/re-subscribed, this event will not be raised).

Public eventDataReleased
Occurs after data has been released for a display.
Public eventDataReleasing
Occurs before data is released for a display.
Public eventDataRequested
Occurs after data has been requested for a display.
Public eventDataRequesting
Occurs before data is requested for a display.
Public eventDataValueWriteBeginning
Occurs when a new value is about to be written.
Public eventDataValueWriteCompleted
Occurs when a new value has been successfully written.
Public eventDataValueWriteFailed
Occurs when a new value has failed to be written.
Public eventDocumentUnloading
Occurs when the currently loaded display is being unloaded (ususally because a new display has been loaded to replace the current display).
Public eventEndPrint
Occurs after the last page of the current display prints.
Public eventLoadCompleted
Occurs after a display load has finished.
Public eventStatic memberMobileDisplayStyleChanged
Indicates when the style of the controls of the mobile display has changed.
Public eventPanChanged
Occurs when the current pan (horizontal or vertical scroll) has changed.
Public eventPickPostDown
Occurs when the mouse is pressed down on a Pick dynamic, after the Pick command has executed.
Public eventPickPostUp
Occurs when the mouse is released on a Pick dynamic, after the Pick command has executed.
Public eventPickPostWhileDown
Occurs while the mouse is pressed down on a Pick dynamic (at the configured interval), after the Pick command has executed.
Public eventPickPreDown
Occurs when the mouse is pressed down on a Pick dynamic, before the Pick command has executed.
Public eventPickPreUp
Occurs when the mouse is released on a Pick dynamic, before the Pick command has executed.
Public eventPickPreWhileDown
Occurs while the mouse is pressed down on a Pick dynamic (at the configured interval), before the Pick command has executed.
Public eventScaleChanged
Occurs when the current scaling of a display changes (caused by zoom change or resize of scalable display).
Public eventViewportSizeChanged
Occurs when the size the width or height of this viewer's viewport (current view area) has changed.

You can use ThisWindow.ViewportWidth and ThisWindow.ViewportHeight to determine the new viewport size. Or, you can call ThisWindow.GetCurrentVisibleAreaRootSpace to get the viewport dimensions in the coordinate space the root visual of the display.

Public eventWindowLocationChanged
Occurs when the location of the window that contains this control has changed.

You can call ThisWindow.GetWindowBounds in the event handler to determine the new window location.

Public eventWindowSizeChanged
Occurs when the size of the window that contains this control has changed.

You can call ThisWindow.GetWindowBounds in the event handler to determine the new window size.

Public eventZoomChanged
Occurs when the current zoom has changed.

See Also