Grabber::setDefaultWindowPosition Method |
||||||||||||||
Enables or disables the default window size lock of the video window. | ||||||||||||||
Syntax: | bool setDefaultWindowPosition( bool bDefault ); |
|||||||||||||
|
||||||||||||||
Return value: | true on success, false otherwise. |
|||||||||||||
Remarks: | This Method is used to enable or disable automatic resizing of the live video window to the width and height of the current video format. The size of the live video window can only be set independently from the width and height of the current video format, if automatic resizing is disabled. If an application needs to fit the video window into a control's window, the parameter bDefault must be set to false. Setting pDefault to true, sets the size of the video window immediately to the width and height of the current video format. A subsequent call to Grabber::setWindowPosition fails, because the size of the video window is dependent on the current video format. |
|||||||||||||
See also: | Grabber, Grabber::getDefaultWindowPosition, Grabber::getWindowPosition, Grabber::setWindowPosition, Grabber::setWindowSize |