This method sets the window position within the control.

[Visual Basic] Public Function SetWindowPosition() As Boolean
[C#] public bool SetWindowPosition();

Return Value

Returns True if successful, otherwise returns False

Explanation

The SetWindowPosition method sets the window position within the control. This method should be executed when the window size changes and a control other than the Preview control is used.

Execute this method when the Open method is used to output video to a control other than the Preview control and that control's size changes. If video is output to the Preview control, then this method need not be executed.

If unsuccessful, then "DirectX" or "ETC" will be set in the ErrorStatus property.

See Also

Preview Members | Newtone.ImageKit.Wpf.WebCamera.Preview

 

The ImageKit WPF is created by Newtone Corporation