| Visual Basic | |
|---|---|
Function GetSegmentEndWidth( _ ByVal SegmentIndex As System.Integer, _ ByRef EndWidth As System.Double _ ) As System.Boolean | |
| C# | |
|---|---|
System.bool GetSegmentEndWidth( System.int SegmentIndex, out System.double EndWidth ) | |
| JavaScript | |
|---|---|
GetSegmentEndWidth( SegmentIndex : Number ) : { EndWidth : Number, Success : Boolean } | |
| COM native C++ | |
|---|---|
HRESULT GetSegmentEndWidth( LONG SegmentIndex, DOUBLE* EndWidth, VARIANT_BOOL* Success ) | |
| C++ | |
|---|---|
DSRESULT GetSegmentEndWidth( long SegmentIndex, double* EndWidth, bool* Success ) | |
Parameters
- SegmentIndex
- Index of the vertex of the segment (see Remarks)
- EndWidth[out]
- End width at the specified vertex
- Success[out] or Return Value
- True if the end width is returned, false if not
SegmentIndex starts at 0. To determine a valid value for SegmentIndex, call IPolyLine::GetVerticesCount to get the number of vertices in the 2D PolyLine.
| For this type of 2D PolyLine... | Number of vertices equals... |
| Closed | IPolyLine::GetVerticesCount |
| Open | IPolyLine::GetVerticesCount - 1 |
IPolyLine Interface
IPolyLine Members
IPolyLine::SetSegmentEndWidth Method
IPolyLine::GetSegmentStartWidth Method
IPolyLine::SetSegmentStartWidth Method
IPolyLine::GlobalWidth Property
IPolyLine::GetSegmentType Method
IPolyLine::GetSegmentType Method
IPolyLine Members
IPolyLine::SetSegmentEndWidth Method
IPolyLine::GetSegmentStartWidth Method
IPolyLine::SetSegmentStartWidth Method
IPolyLine::GlobalWidth Property
IPolyLine::GetSegmentType Method
IPolyLine::GetSegmentType Method
DraftSight V1R1.1
Syntax