Description

This McCaptDevice instance is requesting a snap of a single frame from the UI.

Syntax

Private Sub object_PerformSnap(CaptureDevice, Flags, vImage, rVal)

The PerformSnap Event syntax has these parts:

PartDescription
objectA McCapture object.
CaptureDeviceA McCaptDevice object.

the event source device. Image : The image frame used for the snap.

FlagsA mcImageCreateFlags enumeration, as described in settings.
vImageA Variant value.
rValA McImage object.

Settings

The settings for Flags are:

ConstantValueDescription
 mcicfDefault0
 mcicfContiguous1

If set, frames are allocated contiguously, and you cannot add to the FrameCount at a later time.

 mcicfNoInit2

Default is to initialize to 0 (black), this flag suppresses initialization.

 mcicfNoAddToCollection4

If set, the image is created, but not added to the collection (see Notes).

 mcicfNotVisible8

If set, the image is created, possibly added to collection (see above), but not made visible.

 mcipfNoImportProperties8388608

Suppress ImportProperties for functions creating an image from another.