Description

This McCaptDevice instance has updated a live preview frame.

Syntax

Private Sub object_PreviewFrame(CaptureDevice, PreviewWindow, PreviewType, Image)

The PreviewFrame Event syntax has these parts:

PartDescription
objectA McCapture object.
CaptureDeviceA McCaptDevice object.

the event source device.

PreviewWindowA Variant value.

the preview window (IMcViewer or HWND).

PreviewTypeA mcCaptPreviewWinType enumeration, as described in settings.

the preview type flag

ImageA McImage object.

The image frame updated for the preview.

Settings

The settings for PreviewType are:

ConstantValueDescription
 mcPvwWinType_HWND0
 mcPvwWinType_Viewer1