FZ_FormBase.SetUnitFigure
Sets a figure data in the processing unit
Public Function SetUnitFigure( _
ByVal unitNo As Integer, _
ByVal figureNo As Integer, _
ByRef figure() As Integer _
) As Integer
Parameters
unitNo
|
Processing unit number of the figure data to be set
|
Input
|
figureNo
|
Figure number of the figure data to be set
|
Input
|
figure
|
Pointer to the figure data to be set
|
Input
|
Return Value
Returns 0 when the figure data is successfully set.
Otherwise returns a non-zero value.
Description
Sets a figure data to the specified figure number of the specified processing unit. Returns 0 when the measurement is successfully executed.
Otherwise returns a non-zero value.
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 a figure data for the figure number 0
GetUnitFigure(Me.UnitNo, 0, figType, figure)
' Sets a figure data for the figure number 1
SetUnitFigure(Me.UnitNo, 1, figure)
End Sub