Visual Basic | |
---|---|
Function SetSegmentAngle( _ ByVal SegmentIndex As System.Integer, _ ByVal Angle As System.Double _ ) As System.Boolean |
C# | |
---|---|
System.bool SetSegmentAngle( System.int SegmentIndex, System.double Angle ) |
JavaScript | |
---|---|
SetSegmentAngle( SegmentIndex : Number, Angle : Number ) : Boolean |
COM native C++ | |
---|---|
HRESULT SetSegmentAngle( LONG SegmentIndex, DOUBLE Angle, VARIANT_BOOL* Success ) |
C++ | |
---|---|
DSRESULT SetSegmentAngle( long SegmentIndex, double Angle, bool* Success ) |
Parameters
- SegmentIndex
- Index of the vertex whose angle to set (see Remarks)
- Angle
- Angle
- Success[out] or Return Value
- True if the angle of the vertex is set, 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::GetSegmentAngle Method
IPolyLine::GetSegmentEndWidth Method
IPolyLine::GetSegmentStartWidth Method
IPolyLine::GetSegmentType Method
IPolyLine::SetSegmentEndWidth Method
IPolyLine::SetSegmentStartWidth Method
IPolyLine Members
IPolyLine::GetSegmentAngle Method
IPolyLine::GetSegmentEndWidth Method
IPolyLine::GetSegmentStartWidth Method
IPolyLine::GetSegmentType Method
IPolyLine::SetSegmentEndWidth Method
IPolyLine::SetSegmentStartWidth Method
DraftSight V1R1.1