Click or drag to resize

PolylineExtensionGetSpline Method

Gets the spline exact approximation of the polyline.

Namespace:  Gile.AutoCAD.R20.Geometry
Assembly:  GeometryExtensionsR20 (in GeometryExtensionsR20.dll) Version: 2.2.0.0 (2.2.0.0)
Syntax
public static Spline GetSpline(
	this Polyline pline
)

Parameters

pline
Type: Polyline
The instance to which this method applies.

Return Value

Type: Spline
A new Spline instance.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Polyline. 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
ExceptionCondition
ArgumentNullExceptionArgumentException is thrown if pline is null.
Remarks
The Curve.Spline property throws eNotApplicable exception when called on a Polyline instance.
See Also