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:

PartDescription
objectA McImage object.
NameA String value.
WidthA Long value.
HeightA Long value.
FrameCountA Long value.
ImageTypeA Variant value.
CreationFlagsA Long value.
ImageA McImage object.
bCancelA Boolean value.

Remarks

This event is NOT fired when an image is opened from file. In that case the BeforeOpen event is fired instead.