Description
Event fired before a new image is created by McImages.Add.
Syntax
Private Sub object_BeforeNew(Name, Width, Height, FrameCount, ImageType, CreationFlags, Image, bCancel)
The BeforeNew Event syntax has these parts:
|
| object | A McImage object. | | Name | A String value. | | Width | A Long value. | | Height | A Long value. | | FrameCount | A Long value. | | ImageType | A Variant value. | | CreationFlags | A Long value. | | Image | A McImage object. | | bCancel | A Boolean value. |
Remarks
This event is NOT fired when an image is opened from file. In that case the BeforeOpen event is fired instead.
|