| Cv2NamedWindow Method |
Creates a window.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static void NamedWindow(
string winName,
WindowMode flags = WindowMode.Normal
)
Public Shared Sub NamedWindow (
winName As String,
Optional flags As WindowMode = WindowMode.Normal
)
public:
static void NamedWindow(
String^ winName,
WindowMode flags = WindowMode::Normal
)
static member NamedWindow :
winName : string *
?flags : WindowMode
(* Defaults:
let _flags = defaultArg flags WindowMode.Normal
*)
-> unit
Parameters
- winName
- Type: SystemString
Name of the window in the window caption that may be used as a window identifier. - flags (Optional)
- Type: OpenCvSharpWindowMode
Flags of the window. Currently the only supported flag is CV WINDOW AUTOSIZE. If this is set,
the window size is automatically adjusted to fit the displayed image (see imshow ), and the user can not change the window size manually.
See Also