Geometry.GetLength

Geometry.GetLength method

Computes the length of this geometry.

public double GetLength()

Return Value

The length of this geometry. Perimeter if this is a Polygon. Sum of lengths of elements of this geometry if this geometry is a GeometryCollection.

See Also