| Window Constructor (String, WindowMode, Mat) |
Creates a window
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public Window(
string name,
WindowMode flags,
Mat image
)
Public Sub New (
name As String,
flags As WindowMode,
image As Mat
)
public:
Window(
String^ name,
WindowMode flags,
Mat^ image
)
new :
name : string *
flags : WindowMode *
image : Mat -> Window
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. - image
- Type: OpenCvSharpMat
Image to be shown.
See Also