ArcGIS Runtime SDK for WPF - Library Reference
Length(Polyline) Method
See Also 
ESRI.ArcGIS.Client.Geometry Namespace > Euclidian Class > Length Method : Length(Polyline) Method

polyline
The polyline to calculate the length for.
Calculates the length of the perimeter of a polyline.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function Length( _
   ByVal polyline As Polyline _
) As Double
C# 
public static double Length( 
   Polyline polyline
)

Parameters

polyline
The polyline to calculate the length for.

Return Value

Length in geometry's linear unit.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.