LEADTOOLS WIA (Leadtools.Wia assembly)
LEAD Technologies, Inc

AcquireImageFromVideo Method






Extracts a still image from the video stream, and saves the image as a JPEG file.
Syntax
public string AcquireImageFromVideo()
'Declaration
 
Public Function AcquireImageFromVideo() As String
'Usage
 
Dim instance As WiaSession
Dim value As String
 
value = instance.AcquireImageFromVideo()
public string AcquireImageFromVideo()
 function Leadtools.Wia.WiaSession.AcquireImageFromVideo()
public:
String^ AcquireImageFromVideo(); 

Return Value

A System.String containing the full path and filename 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.

Example
Refer to WiaSession.IsVideoPreviewAvailable.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

WiaSession Class
WiaSession Members
Startup Method
Shutdown Method
SelectDevice Method
SelectDeviceDlg Method
IsVideoPreviewAvailable Method
StartVideoPreview Method
ResizeVideoPreview Method
EndVideoPreview Method

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.