MapWinGIS:GridHeader NumberRows
From MapWindow GIS
NumberRows
Gets or sets the number of rows in the grid represented by the grid header.
VB.NET Usage
Property NumberRows() Integer
Parameters
|
ReturnValue | The number of rows in the grid represented by the grid header. |
Sample Code
Private Sub NumberRows()
Dim header As New MapWinGIS.GridHeader()
Dim rows As Integer
'Set the number of rows to be used
rows = 300
'Store the number of rows for the grid in the grid header
header.NumberRows = rows
'Get the number of rows for the grid from the grid header
rows = header.NumberRows
End Sub
VB 6 Usage
Property NumberRows() Long
Parameters
|
ReturnValue | The number of rows in the grid represented by the grid header. |
Sample Code
Private Sub NumberRows()
Dim header As New MapWinGIS.GridHeader
Dim rows As Long
'Set the number of rows to be used
rows = 300
'Store the number of rows for the grid in the grid header
header.NumberRows = rows
'Get the number of rows for the grid from the grid header
rows = header.NumberRows
End Sub
















