MapWinGIS:ShapefileColorScheme Add
From MapWindow GIS
Add
Adds a color break to the shapefile color scheme.
See also ShapefileColorBreak
VB.NET Usage
Function Add(Break As MapWinGIS.ShapefileColorBreak) As Integer
Parameters
|
Break | The shapefile color break to be added to the shapefile color scheme. |
| ReturnValue | The index of the color break just added to the color scheme. |
Sample Code
Private Sub AddShapefileColorBreak()
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)
End Sub
VB 6 Usage
Function Add(Break As ShapefileColorBreak) As Long
Parameters
|
Break | The shapefile color break to be added to the shapefile color scheme. |
| ReturnValue | The index of the color break just added to the color scheme. |
Sample Code
Private Sub AddShapefileColorBreak()
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)
End Sub
















