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