Creates a window which can be used as a placeholder for images and trackbars. Created windows are reffered by their names.
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- name
- Type: SystemString
Name of the window which is used as window identifier and appears in the window caption. - flags
- Type: OpenCvSharpWindowMode
Flags of the window. Currently the only supported flag is WindowMode.AutoSize. If it is set, window size is automatically adjusted to fit the displayed image (see cvShowImage), while user can not change the window size manually.
Return Value
Type: Int32[Missing <returns> documentation for "M:OpenCvSharp.Cv.NamedWindow(System.String,OpenCvSharp.WindowMode)"]
See Also