MatCols Property OpenCvSharp Class Library
the number of columns or -1 when the array has more than 2 dimensions

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

public int Cols { get; }

Return Value

Type: Int32
See Also

Reference