| Visual Basic | |
|---|---|
Function Split( _ ByVal VertexIndex As System.Integer, _ ByRef NewPolyline As PolyLine _ ) As System.Boolean | |
| C# | |
|---|---|
System.bool Split( System.int VertexIndex, out PolyLine NewPolyline ) | |
| JavaScript | |
|---|---|
Split( VertexIndex : Number ) : { NewPolyline : dsPolyLine, Result : Boolean } | |
| COM native C++ | |
|---|---|
HRESULT Split( LONG VertexIndex, IPolyLine** NewPolyline, VARIANT_BOOL* Result ) | |
| C++ | |
|---|---|
DSRESULT Split( long VertexIndex, dsPolyLine** NewPolyline, bool* Result ) | |
Parameters
- VertexIndex
- Index of vertex where to split the 2D PolyLine (see Remarks)
- NewPolyline[out]
- New 2D PolyLine
- Result[out] or Return Value
- True if the original 2D PolyLine is split and a new 2D PolyLine is created, false if not
Before calling this method, call IPolyLine::GetVeticesCount to get the number of vertices in the 2D PolyLine and to determine a valid value for VertexIndex.
IPolyLine Interface
IPolyLine Members
IPolyLine::Straighten Method
IPolyLine::Fit Method
IPolyLine::Spline Method
IPolyLine Members
IPolyLine::Straighten Method
IPolyLine::Fit Method
IPolyLine::Spline Method
DraftSight V1R1.1
Syntax