Altaxo user manual and class reference
Altaxo user manual and class reference
Altaxo class reference
Altaxo Namespaces
Altaxo.Graph Namespaces
Altaxo.Graph.Gdi
GdiExtensionMethods Class
GdiExtensionMethods Methods
TotalLineLength Method
TotalLineLength(PointF[]) Method
TotalLineLength(PointF[], Int32, Int32) Method
Gdi
Extension
Methods
Total
Line
Length(
Point
F
) Method
Calculates the total length of a polyline.
Namespace:
Altaxo.Graph.Gdi
Assembly:
AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
Copy
public
static
double
TotalLineLength
(
this
PointF
[]
polyline
)
Parameters
polyline
PointF
The polyline.
Return Value
Double
Total length of the polyline.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
PointF
. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic)
or
Extension Methods (C# Programming Guide)
.
Exceptions
Exception
Condition
ArgumentNullException
polyline
ArgumentException
Polyline must have at least 2 points - polyline
See Also
Reference
GdiExtensionMethods Class
TotalLineLength Overload
Altaxo.Graph.Gdi Namespace
Altaxo can be downloaded from
SourceForge
. Source code available on
Github
.
(C) Dr. Dirk Lellinger and all contributors to the source code 2002 -
Send comments on this topic to
dlellinger@users.sourceforge.net