LWia::StartVideoPreview

#include "ltwrappr.h"

virtual L_INT LWia::StartVideoPreview(bStretchToFitParent)

Starts the video preview.

Parameters

L_BOOL bStretchToFitParent

Specifies whether the video display is stretched to fit the parent window. Possible values are:

Value Meaning
TRUE Stretch the video preview to fit the parent window.
FALSE Video is displayed in a supported resolution smaller than the parent window.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

This feature is available in LEADTOOLS version 16 or higher.

To specify the parent window or control where to start the video preview, call the LScanner::SetWindow function before calling [LWia:StartVideoPreview.

[LWia:StartVideoPreview starts the video stream preview in the window or control specified using the LScanner::SetWindow function.

[LWia:StartVideoPreview internally sets the image directory of the captured still images to the device's default path, unless you called LWia::SetPropertyString using the WIA_DPV_IMAGES_DIRECTORY property ID and the directory path to be used before calling the [LWia:StartVideoPreview function.

Required DLLs and Libraries

Help Version 21.0.2021.4.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS WIA C++ Class Library Help