WindowMode Enumeration OpenCvSharp Class Library
Flags for the window

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

[FlagsAttribute]
public enum WindowMode
Members

  Member nameValueDescription
None0 No flags [0]
AutoSize1 Window size is automatically adjusted to fit the displayed image, while user can not change the window size manually. [CV_WINDOW_AUTOSIZE]
OpenGL4096 window with opengl support
ExpandedGui0 Show new enhance GUI (Qt Backend Only) [CV_GUI_EXPANDED]
NormalGui2 Show old style window without statusbar and toolbar (Qt Backend Only) [CV_GUI_NORMAL]
StretchImage2 Image size is automatically adjusted to fit the window size
Fullscreen1 Fullscreen [CV_WINDOW_FULLSCREEN]
FreeRatio4 Fix aspect ratio [CV_WINDOW_FREERATIO]
KeepRatio0 Respect the image ratio [CV_WINDOW_KEEPRATIO]
See Also

Reference