Leadtools.Wia Namespace > WiaSession Class : AcquireImageFromVideo Method |
public string AcquireImageFromVideo()
'Declaration Public Function AcquireImageFromVideo() As String
'Usage Dim instance As WiaSession Dim value As String value = instance.AcquireImageFromVideo()
public: String^ AcquireImageFromVideo();
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.