StartVideoPreview Method

Summary

Starts the video preview inside the window handle specified through the

owner parameter.

Syntax
C#
VB
C++
public void StartVideoPreview( 
   IntPtr owner, 
   bool stretchToFitParent 
) 
  
Public Sub StartVideoPreview( _ 
   ByVal owner As IntPtr, _ 
   ByVal stretchToFitParent As Boolean _ 
)  
public: 
void StartVideoPreview(  
   IntPtr owner, 
   bool stretchToFitParent 
)  

Parameters

owner
Window handle where to display the streaming video preview.

stretchToFitParent
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.

Remarks

This function will start the video stream preview in the window or the control specified through the owner parameter.

This function will internally set the image directory of the captured still images to the device's default path unless you changed the destination images directory property yourself as mentioned in the WiaSession.AcquireImageFromVideo documentation.

Requirements

Target Platforms

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

Leadtools.Wia Assembly