Resizes the video playback to the largest supported resolution that fits inside the parent window.
public void ResizeVideoPreview(
Public Sub ResizeVideoPreview( _
ByVal stretchToFitParent As Boolean _
Specifies whether the video display is stretched to fit the parent window. Possible values are:
|true||Stretch the video preview to fit the parent window.|
|false||Video is displayed in a supported resolution smaller than the parent window.|
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.
Refer to WiaSession.IsVideoPreviewAvailable.