| Visual Basic | |
|---|---|
Sub Straighten( _ ByVal VertexIndexStart As System.Integer, _ ByVal VertexIndexEnd As System.Integer _ ) | |
| C# | |
|---|---|
void Straighten( System.int VertexIndexStart, System.int VertexIndexEnd ) | |
| JavaScript | |
|---|---|
Straighten( VertexIndexStart : Number, VertexIndexEnd : Number ) | |
| COM native C++ | |
|---|---|
HRESULT Straighten( LONG VertexIndexStart, LONG VertexIndexEnd ) | |
| C++ | |
|---|---|
DSRESULT Straighten( long VertexIndexStart, long VertexIndexEnd ) | |
Parameters
- VertexIndexStart
- Index corresponding to the vertex at which to start straightening the 2D PolyLine (see Remarks)
- VertexIndexEnd
- Index corresponding to the vertex at which to end straightening the 2D PolyLine
Before calling this method, call IPolyLine::GetVerticesCount to get valid values for VertexIndexStart and VertexIndexEnd.
IPolyLine Interface
IPolyLine Members
IPolyLine::Split Method
IPolyLine::Fit Method
IPolyLine::Spline Method
IPolyLine Members
IPolyLine::Split Method
IPolyLine::Fit Method
IPolyLine::Spline Method
DraftSight V1R3.0
Syntax