FZ_PanDAForm.SaveSceneGroup

Performs a scene group data save processing

Public Shared Function SaveSceneGroup( _
) As Integer
 
Public Shared Function SaveSceneGroup( _
   ByVal sceneGroupNo As Integer, _
   ByVal fileName As String _
) As Integer

Parameters
sceneGroupNo
Scene group number to be saved
Input
fileName
Save destination file name
The save file name must be specified as an absolute path
Input

Return Value
Returns 0 when saving scene group data succeeded.
Otherwise returns a non-zero value.

Description
Saves the scene group data of the specified scene group number to a file.
If the existing file is specified as the save destination file name, the file is overwritten.
Saves the current scene group contents in a predetermined file when executed by the method without arguments.
The predetermined file is a file that is created under "\CFDisk" for scene group 0, or under "\USBDisk" otherwise.

Example
   Private Sub btnOK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOK.Click

       ' Saves the current scene group data
       SaveSceneGroup()

       ' Saves the scene group 0 data
       SaveSceneGroup(0, "\USBDisk\scenegroup0.sgp")

   End Sub