DIMcImageEvents_BeforeOpenEventHandler Delegate
|
|
Event fired before an image is opened by McImages.Open
Namespace:
MediaCy.IQL.Engine
Assembly:
MediaCy.IQL.Engine (in MediaCy.IQL.Engine.dll) Version: 10.0.6912.0
SyntaxPublic Delegate Sub DIMcImageEvents_BeforeOpenEventHandler (
FileName As Object,
CreationFlags As Integer,
<OutAttribute> ByRef Image As McImage,
<OutAttribute> ByRef bCancel As Boolean
)
Parameters
- FileName
- Type: SystemObject
Either the file specification as a String or an McStream object. - CreationFlags
- Type: SystemInt32
See mcImageCreateFlags for the list of supported flags. - Image
- Type: MediaCy.IQL.EngineMcImage
Not used unless bCancel is set True, in which case this is the return value from the McImages.Add method. - bCancel
- Type: SystemBoolean
If assigned True by the event handler, then the Image returned by the event handler is used as the return value for the McImages.Open method.
See Also