Leadtools.Wia Namespace > WiaSession Class : StartVideoPreview Method |
Specifies whether the video display is stretched to fit the parent window. Possible values are:
Value |
Meaning |
true | Stretch the video preview to fit the parent window. |
false | Video is displayed in a supported resolution smaller than the parent window. |
public void StartVideoPreview( IWin32Window owner, bool stretchToFitParent )
'Declaration Public Sub StartVideoPreview( _ ByVal owner As IWin32Window, _ ByVal stretchToFitParent As Boolean _ )
'Usage Dim instance As WiaSession Dim owner As IWin32Window Dim stretchToFitParent As Boolean instance.StartVideoPreview(owner, stretchToFitParent)
public void StartVideoPreview( IWin32Window owner, bool stretchToFitParent )
function Leadtools.Wia.WiaSession.StartVideoPreview( owner , stretchToFitParent )
public: void StartVideoPreview( IWin32Window^ owner, bool stretchToFitParent )
Specifies whether the video display is stretched to fit the parent window. Possible values are:
Value |
Meaning |
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.
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