FZ_PanDAForm.SaveImage
Performs an image data save processing
Public Shared Function SaveImage( _
ByVal preImageNo As Integer, _
ByVal fileName As String _
) As Integer
Parameters
preImageNo
|
Image logging number to be saved
Performs a save processing for the latest logging image if 0 is specified, and for the previous logging image if 1 is specified.
|
Input
|
FileName
|
Saved file name
The save file name must be specified as an absolute path.
|
Input
|
Return Value
Returns 0 when copying the image logging data file succeeded.
Otherwise returns a non-zero value.
Description
Saves the image logging data of the specified number which is logged in the controller's memory to the specified file.
Example
Private Sub btnOK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOK.Click
' Save the latest image logging data to the USB disk
SaveImage(0, "\USBDisk\image00.ifz")
End Sub