This document is archived and information here might be outdated.  Recommended version.


IPolycurve2.SplitAtDistances Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IP > IPolycurve2 Interface > IPolycurve2.SplitAtDistances Method
ArcGIS Developer Help

IPolycurve2.SplitAtDistances Method

Introduces new vertices into this polyline at specified distances from the beginning of the polyline.

[Visual Basic .NET]
Public Function SplitAtDistances ( _
    ByVal distanceCount As Integer, _
    ByRef distances As Double, _
    ByVal asRatios As Boolean, _
    ByVal createParts As Boolean _
) As IEnumSplitPoint
[C#]
public IEnumSplitPoint SplitAtDistances (
    int distanceCount,
    ref double distances,
    ref bool asRatios,
    ref bool createParts
);
[C++]
HRESULT SplitAtDistances(
  long distanceCount,
  System.Double* distances,
  VARIANT_BOOL asRatios,
  VARIANT_BOOL createParts
);
[C++]
Parameters
distanceCount 

distanceCount is a parameter of type long distances
distances is a parameter of type double* asRatios
asRatios is a parameter of type bool createParts
createParts is a parameter of type bool

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
[C#]

When using C# you must use the IGeometryBridge interface to call this method.

[Visual Basic .NET]

When using VBNET you must use the IGeometryBridge interface to call this method.

See Also

IPolycurve2 Interface