Range Constructor(Int32,Int32,Int32,Int32)
In This Topic
Create a Range by coordinates and spans.
Syntax
'Declaration
Public Function New( _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Integer _
)
'Usage
Dim leftCol As System.Integer
Dim topRow As System.Integer
Dim cols As System.Integer
Dim rows As System.Integer
Dim instance As New Range(leftCol, topRow, cols, rows)
public Range(
System.int ,
System.int ,
System.int ,
System.int
)
public Range(
: System.Integer;
: System.Integer;
: System.Integer;
: System.Integer
);
public function Range(
: System.int,
: System.int,
: System.int,
: System.int
);
public: Range(
System.int ,
System.int ,
System.int ,
System.int
)
public:
Range(
System.int ,
System.int ,
System.int ,
System.int
)
Parameters
- leftCol
- The starting column number.
- topRow
- The starting row number.
- cols
- The number of columns.
- rows
- The number of rows.
See Also