MapWinGIS:Utils Length

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

Length

Gets the length of the line shape.


VB.NET Usage

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

            Parameters

Shape

The line shape for which the length is required.
ReturnValue The length of the line shape.

Sample Code

    Private Sub UtilsLength()
        Dim utils As New MapWinGIS.Utils()
        Dim shape As New MapWinGIS.Shape()
        Dim length As Double
        'Get the length of the line shape
        length = utils.Length(shape)
    End Sub
  

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

Shape

The line shape for which the length is required.
ReturnValue The length of the line shape.

Sample Code

    Private Sub UtilsLength()
        Dim utils As New MapWinGIS.utils
        Dim shape As New MapWinGIS.shape
        Dim length As Double
        'Get the length of the line shape
        length = utils.length(shape)
    End Sub

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

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