MapWinGIS:Shapefile Field

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

Field

Gets a field header from the shapefile's attribute table.
See also Field


VB.NET Usage

ReadOnly Property Field(FieldIndex As Integer) As MapWinGIS.Field

            Parameters

FieldIndex

The field index of the field for which the header is required.
ReturnValue The field header for the specified field in the attribute table.

Sample Code

    Private Sub ShapefileField()
        Dim sf As New MapWinGIS.Shapefile()
        Dim field As New MapWinGIS.Field()
        'Get the field header for field 0
        field = sf.Field(0)
    End Sub
  

VB 6 Usage
ReadOnly Property Field(FieldIndex As Long) As Field
            Parameters

FieldIndex

The field index of the field for which the header is required.
ReturnValue The field header for the specified field in the attribute table.

Sample Code

    Private Sub ShapefileField()
        Dim sf As New MapWinGIS.Shapefile
        Dim field As New MapWinGIS.field
        'Get the field header for field 0
        field = sf.field(0)
    End Sub

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

This page has been accessed 2,533 times. This page was last modified on 9 November 2005, at 18:21.