This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IP > IPolycurve2 Interface > IPolycurve2.SplitAtDistances Method (ArcObjects .NET 10.5 SDK) |
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
When using C# you must use the IGeometryBridge interface to call this method.
When using VBNET you must use the IGeometryBridge interface to call this method.