MapWinGIS:ShapefileColorScheme Remove

This is a back-up of the WIKI.
Not all links might work
We're working on a new wiki.

Main Page | Recent changes | View source | Page history | Log in / create account |

Printable version | Disclaimers | Privacy policy

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

Retrieved from "http://mapwindow.org/wiki/index.php/MapWinGIS:ShapefileColorScheme_Remove"

This page has been accessed 1,228 times. This page was last modified on 9 November 2005, at 17:13.