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
SyntaxReadOnly Property ActiveImageAlias As McObject
Get
Return Value
Type:
McObjectIMcObject* : The ActiveImageAlias McObject.
RemarksThe 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 |
---|
ActiveImageAlias.ShadowMcObject should never be assigned to directly.
Always change the ThisApplication.ActiveImage by assigning to the ThisApplication.ActiveImage property. |
Examples
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)
End If
See Also