public Polyline GetSubCurve( Multipart multipart, double fromDistance, double toDistance, AsRatioOrLength asRatioOrLength )
Public Function GetSubCurve( _ ByVal multipart As Multipart, _ ByVal fromDistance As Double, _ ByVal toDistance As Double, _ ByVal asRatioOrLength As AsRatioOrLength _ ) As Polyline
Parameters
- multipart
- The multipart from which the subcurve will be extracted.
- fromDistance
- The distance along the multipart to start the subcurve.
- toDistance
- The distance along the multipart to end the subcurve.
- asRatioOrLength
- Indicates whether the fromDistance and toDistance are given as lengths or ratios along the multipart.
Return Value
The polyline representing the subcurve. If the input multipart is empty, then an empty polyline is returned.