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 Play control is used.
Execute this method when the Open method is used to output video to a control other than the Play control and that control's size changes. If video is output to the Play control, then this method need not be executed.
If unsuccessful, then "DirectX" or "ETC" will be set in the ErrorStatus property.
See Also
Play Members | Newtone.ImageKit.Win.WebCamera.Play