Description

This McCaptDevice instance is starting a live preview.

Syntax

Private Sub object_BeforePreview(CaptureDevice, PreviewWindow, PreviewType)

The BeforePreview 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 mode flag

Settings

The settings for PreviewType are:

ConstantValueDescription
 mcPvwWinType_HWND0
 mcPvwWinType_Viewer1