AcquireImageFromVideo Method

Summary

Extracts a still image from the video stream, and saves the image as a JPEG file.

Syntax
C#
VB
C++
public string AcquireImageFromVideo() 
  
Public Function AcquireImageFromVideo() As String 
public: 
String^ AcquireImageFromVideo();  

Return Value

A System.String containing the full path and file name of the captured JPEG file from the camera device.

Remarks

This method will capture a still image from the video stream and save it as a JPEG file.

To change the directory where the captured image is saved, set the new folder path in the value parameter and then call the WiaSession.SetPropertyString method, passing WiaPropertyId.VideoDeviceImagesDirectory for the propertyId parameter of this method.

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