Click or drag to resize

_DMcGraphOverlayEvents Interface

A source dispinterface describing the events generated by McGraphOverlay.

Namespace:  MediaCy.IQL.Display.Overlays
Assembly:  MediaCy.IQL.Display.Overlays (in MediaCy.IQL.Display.Overlays.dll) Version: 10.0.6912.0
Syntax
VB
Public Interface _DMcGraphOverlayEvents

The _DMcGraphOverlayEvents type exposes the following members.

Methods
  NameDescription
Public methodAboutToBeDestroyed
This McOverlay instance is in the process of being destroyed.
Public methodEditClear
This Object is about to be deleted as part of an EditClear or EditCut operation.
Public methodEditCopy
This object is going to be copied to the clipboard.
Public methodEditPaste
This object was just pasted from the clipboard.
Public methodMoveSelected
The selected object(s) are about to be moved or have just been moved.
Public methodObjectAboutToBeDeleted
This Object is about to be deleted by the user (using the DEL key).
Public methodObjectAboutToBeDestroyed
This Object is about to be destroyed by any means. A previous ObjectAboutToBeDeleted or EditClear event may have been fired for this object if it was being deleted during user editing or an EditClear/Cut respectively.
Public methodObjectCreated
This object was just created.
Public methodObjectDeselected
Object has been deselected.
Public methodObjectDragged
This object is being dragged.
Public methodObjectHandleDragged
One of this object's handles is being dragged.
Public methodObjectHandleMoved
One of this object's handles was moved.
Public methodObjectMoved
This Object was moved.
Public methodObjectPropertyChanged
This Object's property identified by propertyId was changed. Or an attempt to edit properties could not be honored.
Public methodObjectSelected
Object was just selected.
Public methodObjectUsedAsDefault
This Object properties were copied to its template.
Public methodToolDeselected
A tool was just deselected, and is not active anymore. If any tool was active, this event is always sent to notify clients of the overlay that selected the previously active tool. It is also sent to the notify clients of the overlay getting a newly selected tool or no tool.
Public methodToolSelected
A tool was selected as the new active tool.
Top
Remarks
Clients interested to receive notifications associated with the main activities of the overlay manager need to implement this interface and register it using their programming language prefered method. Note that notifications can be received either through this dispinterface or through its custom version _IMcGraphOverlayEvents for clients looking for better performances and supporting vtable binding.
Examples
VB
Dim With Events overlay As McOverlay
Sub AttachToAnnotations
Set overlay = McEngine.ActiveImage.Annotations
End Sub
Sub overlay_ObjectSelected(McGraphObj Object)
Debug.Print "Object Selected"
End Sub
See Also