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:

MethodDescriptionVersion Introduced
AboutBoxDisplays the control's about box. 
ClearRemoves the currently loaded image.4.0.0
DoClickFires the OnClick event. 
DoDblClickFires the OnDblClick event. 
GetMetaDataGets all metadata stored in the image for a specific model. 
GetMetaDataModelsGets a list of all metadata models stored in the image. 
GetMetaDataTagGets a single metadata tag stored in the image. 
GoToNextFrameAdvances to the next image frame. 
LoadRawImageLoads an image from an array of bytes. 

Refresh

Redraws the control. 
ShowContextMenuDisplays a context menu at the given mouse point. 
  • No labels