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


IPolycurve2.SplitAtDistances Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geometry)  

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,
  double* distances,
  VARIANT_BOOL asRatios,
  VARIANT_BOOL createParts,
  IEnumSplitPoint** splitInfo
);
[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 VARIANT_BOOL createParts createParts is a parameter of type VARIANT_BOOL splitInfo [out, retval]
splitInfo is a parameter of type IEnumSplitPoint

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