| WindowMode Enumeration |
Flags for the window
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax [FlagsAttribute]
public enum WindowMode
<FlagsAttribute>
Public Enumeration WindowMode
[FlagsAttribute]
public enum class WindowMode
[<FlagsAttribute>]
type WindowMode
Members
| Member name | Value | Description |
---|
| Normal | 0 |
the user can resize the window (no constraint) /
also use to switch a fullscreen window to a normal size
|
| AutoSize | 1 |
the user cannot resize the window, the size is constrainted by the image displayed
|
| OpenGL | 4096 |
window with opengl support
|
| FullScreen | 1 |
change the window to fullscreen
|
| FreeRatio | 256 |
the image expends as much as it can (no ratio constraint)
|
| KeepRatio | 0 |
the ratio of the image is respected
|
See Also