SetControlPointCoordinate Method (ISpline)

SetControlPointCoordinate Method (ISpline) | Send Feedback
See Also

Success[out]
  True if successful, false if not

Index
  Index of the control point (see Remarks)

X
  x coordinate of the control point

Y
  y coordinate of the control point

Z
  z coordinate of the control point

Sets the coordinates of a control point of the Spline.

# Syntax

Visual Basic |
--- | ---
    Function SetControlPointCoordinate( _
       ByVal Index As System.Integer, _
       ByVal X As System.Double, _
       ByVal Y As System.Double, _
       ByVal Z As System.Double _
    ) As System.Boolean

C# |
--- | ---
    System.bool SetControlPointCoordinate(
       System.int Index,
       System.double X,
       System.double Y,
       System.double Z
    )

JavaScript |
--- | ---
    SetControlPointCoordinate(
       Index : Number,
       X : Number,
       Y : Number,
       Z : Number
    ) : Boolean

COM native C++ |
--- | ---
    HRESULT SetControlPointCoordinate(
       LONG Index,
       DOUBLE X,
       DOUBLE Y,
       DOUBLE Z,
       VARIANT_BOOL* Success
    )

C++ |
--- | ---
    DSRESULT SetControlPointCoordinate(
       long Index,
       double X,
       double Y,
       double Z,
       bool* Success
    )

#### Parameters

Index
  Index of the control point (see Remarks)
X
  x coordinate of the control point
Y
  y coordinate of the control point
Z
  z coordinate of the control point
Success[out] or Return Value
  True if successful, false if not

# Remarks

Before calling this method, call ISpline::GetControlPointsCount to determine a valid value for Index.

# See Also

####

ISpline Interface
ISpline Members
ISpline::GetControlPointCoordinate Method

# Availability

DraftSight V1R1.3