MapWinGIS:ShapefileColorScheme Remove
From MapWindow GIS
Remove
Removes the color break specified by the color break index from the shapefile color scheme.
VB.NET Usage
Sub Remove(Index As Integer)
Parameters
|
Index | The index of the color break to be removed from the shapefile color scheme. |
Sample Code
Private Sub RemoveShapefileColorBreak()
Dim colorscheme As New MapWinGIS.ShapefileColorScheme()
Dim colorbreak As New MapWinGIS.ShapefileColorBreak()
Dim index As Integer
'Add a color break to the shapefile color scheme, saving the color break index
index = colorscheme.Add(colorbreak)
'Remove the color break just added to the shapefile color scheme
colorscheme.Remove(index)
End Sub
VB 6 Usage
Sub Remove(Index As Long)
Parameters
|
Index | The index of the color break to be removed from the shapefile color scheme. |
Sample Code
Private Sub RemoveShapefileColorBreak()
Dim colorscheme As New MapWinGIS.ShapefileColorScheme
Dim colorbreak As New MapWinGIS.ShapefileColorBreak
Dim index As Long
'Add a color break to the shapefile color scheme, saving the color break index
index = colorscheme.Add(colorbreak)
'Remove the color break just added to the shapefile color scheme
colorscheme.Remove (index)
End Sub
















