Visual Basic (Declaration) | |
---|---|
Public Function AcquireImageFromVideo() As String |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As WiaSession Dim value As String value = instance.AcquireImageFromVideo() |
C# | |
---|---|
public string AcquireImageFromVideo() |
C++/CLI | |
---|---|
public: String^ AcquireImageFromVideo(); |
Return Value
A System.String containing the full path and filename of the captured JPEG file from the camera device.Refer to WiaSession.IsVideoPreviewAvailable.
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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7