FZ_PanDAForm.SaveScene

Performs save processing of the scene data

Public Shared Function SaveScene( _
   ByVal sceneNo As Integer, _
   ByVal fileName As String _
) As Integer

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

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

Description
Saves the scene data of the specified scene number to a file.
If the existing file is specified as the save destination file name, the file is overwritten.

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

       ' Saves the scene 0 data
       SaveScene(0, "\USBDisk\scene0.scn")

   End Sub