MapWinGIS:ShapefileColorScheme Add

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

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

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

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