Click or drag to resize

IMcEngineActiveImageAlias Property

A read-only property exposing the ActiveImageAlias McObject.

Namespace:  MediaCy.IQL.Engine
Assembly:  MediaCy.IQL.Engine (in MediaCy.IQL.Engine.dll) Version: 10.0.6912.0
Syntax
VB
ReadOnly Property ActiveImageAlias As McObject
	Get

Return Value

Type: McObject
IMcObject* : The ActiveImageAlias McObject.
Remarks
The ActiveImageAlias McObject is an "alias" object which has as a shadow object the McEngine.McObject(ActiveImage). You will often want to AttachNotifySink to the ActiveImageAlias McObject instead of to the McObject backing individual images. Notify clients of ActiveImageAlias will get any notification fired on whichever image is the active image. They will also receive a "ValueChanged" standard notification whenever the shadow McImage changes, but no notification is sent if a Nothing shadow is assigned. Notify sinks of neither any old Shadow or the new Shadow are not notified of the change.
Note Note
ActiveImageAlias.ShadowMcObject should never be assigned to directly. Always change the ThisApplication.ActiveImage by assigning to the ThisApplication.ActiveImage property.
Examples
VB
'Test for any Active Image
If ActiveImageAlias.ShadowMcObject Is Nothing Then
MsgBox "There is no Active Image."
Else
MsgBox "The Active Image McObject is named" + _
ThisApplication.ActiveImage.ShadowMcObject.Name(TRUE) ' Show full name
End If
See Also