ProcItemForm.SetUnitFigure
Sets a processing unit figure data
Public Overloads Function SetUnitFigure( _
ByVal figureNo As Integer, _
ByRef figure() As Integer _
) As Integer
Parameters
figureNo
|
Figure number
|
Input
|
figure
|
Figure data
|
Output
|
Return Value
Returns 0 when the processing unit figure data is successfully set.
Otherwise returns a non-zero value.
Description
Sets the processing unit figure data.
Example
Private Sub btnOK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOK.Click
Dim figure(0) As Integer
Dim figType As Integer
' Gets data of the processing unit figure 0
GetUnitFigure(0, figType, figure)
' Sets data of the processing unit figure 0
SetUnitFigure(0, figure)
End Sub