Click or drag to resize

WindowMode Enumeration

Flags for the window

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
[FlagsAttribute]
public enum WindowMode
Members
  Member nameValueDescription
Normal0 the user can resize the window (no constraint) / also use to switch a fullscreen window to a normal size
AutoSize1 the user cannot resize the window, the size is constrainted by the image displayed
OpenGL4096 window with opengl support
FullScreen1 change the window to fullscreen
FreeRatio256 the image expends as much as it can (no ratio constraint)
KeepRatio0 the ratio of the image is respected
See Also