ArcObjects Library Reference  (Geometry)    

IGeometryBridge2.SplitDivideLength Method

Divide segment into smaller segments of the specified length.

[Visual Basic 6.0]
Sub SplitDivideLength(
    ByVal pSegment As ISegment, _
    ByVal Offset As Double, _
    ByVal Length As Double, _
    ByVal asRatio As Boolean, _
    numSplitSegments As Long, _
    ByVal splitSegments() As ISegment _
)
[Visual Basic .NET]
Public Sub SplitDivideLength ( _
    ByVal pSegment As ISegment, _
    ByVal Offset As Double, _
    ByVal Length As Double, _
    ByVal asRatio As Boolean, _
    ByRef numSplitSegments As Integer, _
    ByRef splitSegments As ISegment[] _
)
[C#]
public void SplitDivideLength (
    ISegment pSegment,
    double Offset,
    double Length,
    bool asRatio,
    ref int numSplitSegments,
    ref ISegment[] splitSegments
);
[Java]
public void splitDivideLength (
    ISegment pSegment,
    double Offset,
    double Length,
    Boolean asRatio,
    int numSplitSegments,
    ISegment[] splitSegments
)
throws
    IOException,
    AutomationException
[C++]
HRESULT SplitDivideLength(
  ISegment* pSegment,
  double Offset,
  double Length,
  VARIANT_BOOL asRatio,
  long* numSplitSegments,
  Array* splitSegments
);
[C++]

Parameters

pSegment [in]

  pSegment is a parameter of type ISegment

Offset [in]

  Offset is a parameter of type double

Length [in]

  Length is a parameter of type double

asRatio [in]

  asRatio is a parameter of type VARIANT_BOOL

numSplitSegments [out]

  numSplitSegments is a parameter of type long

splitSegments [in, out]

  splitSegments is a parameter of type Array

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IGeometryBridge2 Interface

Example

IGeometryBridge2_SplitDivideAtLength_Example