FZ_PanDAForm.SaveUnitData
Saves processing unit data
Public Shared Function SaveUnitData( _
ByVal sceneNo As Integer, _
ByVal unitNo As Integer, _
ByVal unitCount As Integer, _
ByVal fileName As String _
) As Integer
Parameters
sceneNo
|
Scene number
|
Input
|
unitNo
|
Unit number
|
Input
|
unitCount
|
Unit count
|
Input
|
fileName
|
File name
|
Input
|
Return Value
Returns 0 when the processing unit data is successfully saved.
Otherwise returns a non-zero value.
Description
Saves specified processing unit data which is specified scene and range in the specified file.
・ Specifies scene number where is saved processing data in argument sceneNo. When specified -1, stands for current scene.
・ Specifies OverWrite in argument mode stands for over write mode, Insert stands for insert mode.
・ Saving the number of the processing unit specified by argument unitCount begin with the processing unit specified by argument unitNo.
Be used to save a part of data in the scene, not the whole scene.
Example
Private Sub btnOK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOK.Click
' Saves processing unit data
SaveUnitData(0, 0, 2, )
End Sub