FZ_FormBase.GetImageLogInfo

Gets an image logging information

Public Shared Function GetImageLogInfo( _
   ByVal kind As ImageLogInfoKind _
) As Integer

Parameters
kind
Type of image logging information to be gotten
ImageLogMaxCount : Maximum number of images to be logged in the controller's memory
ImageLogCount : Number of logging images held in the controller's memory

Input

Return Value
Returns the specified image logging information.

Description
Gets the specified image logging information.
For the number of logging images held in the controller's memory, 1 is returned after the logging was performed once, and 2 after the logging was performed twice. However, the number of logging images cannot exceed the maximum number because saving a logging into the controller's memory is performed cyclically.

Example
    Private Sub SelectImgPrevOnButton()

        Dim imageLogMaxCnt As String
        Dim saveNum As Integer

        'Gets the maximum number of images to be logged in the controller's memory
        imageLogCnt = GetImageLogInfo(ImageLogInfoKind.ImageLogMaxCount)

        'Gets the number of logging images held in the controller's memory
        saveNum = GetImageLogInfo(ImageLogInfoKind.ImageLogCount)
        For i As Integer = 0 To saveNum - 1
                'the logging images held in the controller's memory are saved as files.
                'Processing is omitted.
        Next
   End Sub