MapWinGIS:ShapefileColorScheme FieldIndex

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

FieldIndex

Gets or sets the field index in the attribute table the color scheme is associated with.


VB.NET Usage

Property FieldIndex() As Integer

            Parameters

ReturnValue

The field index the color scheme is associated with.

Sample Code

    Private Sub ColorSchemeFieldIndex()
        Dim colorscheme As New MapWinGIS.ShapefileColorScheme()
        Dim fieldindex As Integer
        'Set the value for the field index
        fieldindex = 0
        'Set the field index for the color scheme
        colorscheme.FieldIndex = fieldindex
        'Get the filed index for the color scheme
        fieldindex = colorscheme.FieldIndex
    End Sub
  

VB 6 Usage
Property FieldIndex() As Long
            Parameters

ReturnValue

The field index the color scheme is associated with.

Sample Code

    Private Sub ColorSchemeFieldIndex()
        Dim colorscheme As New MapWinGIS.ShapefileColorScheme
        Dim fieldindex As Long
        'Set the value for the field index
        fieldindex = 0
        'Set the field index for the color scheme
        colorscheme.fieldindex = fieldindex
        'Get the filed index for the color scheme
        fieldindex = colorscheme.fieldindex
    End Sub

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

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