OLE control events provide a way for the OLE control to communicate back to OpenInsight. Once an event has been qualified using OI's QUALIFY_EVENT message, then the OLE control will fire the event to OpenInsight allowing you to respond to any one of the control's predefined actions. Some events allow you to stop certain actions before they occur, so be sure to read the Remarks section of each event carefully. The following events apply to the SRP Picture Control:
Method | Description | Version Introduced |
---|---|---|
AboutBox | Displays the control's about box. | |
Clear | Removes the currently loaded image. | 4.0.0 |
DoClick | Fires the OnClick event. | |
DoDblClick | Fires the OnDblClick event. | |
GetMetaData | Gets all metadata stored in the image for a specific model. | |
GetMetaDataModels | Gets a list of all metadata models stored in the image. | |
GetMetaDataTag | Gets a single metadata tag stored in the image. | |
GoToNextFrame | Advances to the next image frame. | |
LoadRawImage | Loads an image from an array of bytes. | |
Redraws the control. | ||
ShowContextMenu | Displays a context menu at the given mouse point. |