MapWinGIS:GridColorScheme DeleteBreak
From MapWindow GIS
DeleteBreak
Deletes the specified color break from the color scheme.
VB.NET Usage
Sub DeleteBreak(Index As Integer)
Parameters
|
Index | The index of the color break to be removed. |
Sample Code
Private Sub DeleteBreak()
Dim scheme As MapWinGIS.GridColorScheme
Dim break As New MapWinGIS.GridColorBreak()
Dim index As Integer
'Add color break to color scheme
scheme.InsertBreak(break)
'Set the index of the color break to be deleted
index = 0
'Delete the first color break from the color scheme
scheme.DeleteBreak(index)
End Sub
VB 6 Usage
Sub DeleteBreak(Index As Long)
Parameters
|
Index | The index of the color break to be removed. |
Sample Code
Private Sub DeleteBreak()
Dim scheme As MapWinGIS.GridColorScheme
Dim break As New MapWinGIS.GridColorBreak
Dim index As Long
'Add color break to color scheme
scheme.InsertBreak (break)
'Set the index of the color break to be deleted
index = 0
'Delete the first color break from the color scheme
scheme.DeleteBreak (index)
End Sub
















