MapWinGIS:Utils Perimeter

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

Perimeter

Gets the perimeter of the polygon shape.


VB.NET Usage

ReadOnly Property Perimeter(Shape As MapWinGIS.Shape) As Double

            Parameters

Shape

The polygon shape for which the perimeter is required.
ReturnValue The perimeter of the polygon shape.

Sample Code

    Private Sub UtilsPerimeter()
        Dim utils As New MapWinGIS.Utils()
        Dim shape As New MapWinGIS.Shape()
        Dim perimeter As Double
        'Get the perimeter of the polygon shape
        perimeter = utils.Perimeter(shape)
    End Sub
  

VB 6 Usage
ReadOnly Property Perimeter(Shape As Shape) As Double
            Parameters

Shape

The polygon shape for which the perimeter is required.
ReturnValue The perimeter of the polygon shape.

Sample Code

    Private Sub UtilsPerimeter()
        Dim utils As New MapWinGIS.utils
        Dim shape As New MapWinGIS.shape
        Dim perimeter As Double
        'Get the perimeter of the polygon shape
        perimeter = utils.perimeter(shape)
    End Sub

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

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