MapWinGIS:GridColorScheme DeleteBreak

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

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

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

This page has been accessed 1,227 times. This page was last modified on 9 November 2005, at 16:38.