| Visual Basic | |
|---|---|
Function GetSegmentStartWidth( _ ByVal SegmentIndex As System.Integer, _ ByRef StartWidth As System.Double _ ) As System.Boolean | |
| C# | |
|---|---|
System.bool GetSegmentStartWidth( System.int SegmentIndex, out System.double StartWidth ) | |
| JavaScript | |
|---|---|
GetSegmentStartWidth( SegmentIndex : Number ) : { StartWidth : Number, Success : Boolean } | |
| COM native C++ | |
|---|---|
HRESULT GetSegmentStartWidth( LONG SegmentIndex, DOUBLE* StartWidth, VARIANT_BOOL* Success ) | |
| C++ | |
|---|---|
DSRESULT GetSegmentStartWidth( long SegmentIndex, double* StartWidth, bool* Success ) | |
Parameters
- SegmentIndex
- Index of the vertex of the segment (see Remarks)
- StartWidth[out]
- Start width at the specified vertex
- Success[out] or Return Value
- True if the start 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::SetSegmentStartWidth Method
IPolyLine::GetSegmentEndWidth Method
IPolyLine::SetSegmentEndWidth Method
IPolyLine::GlobalWidth Property
IPolyLine::GetSegmentType Method
IPolyLine::GetSegmentAngle Method
IPolyLine::SetSegmentAngle Method
IPolyLine Members
IPolyLine::SetSegmentStartWidth Method
IPolyLine::GetSegmentEndWidth Method
IPolyLine::SetSegmentEndWidth Method
IPolyLine::GlobalWidth Property
IPolyLine::GetSegmentType Method
IPolyLine::GetSegmentAngle Method
IPolyLine::SetSegmentAngle Method
DraftSight V1R1.1
Syntax