Save the last fingerprint image to the bitmap file specified by FileName.
/// <summary> /// Use after connect and Enroll /// </summary> /// <param name="FileName">Name of destination file</param> /// <param name="FilePath">Directory to save the template</param> private void SaveBitmap_ZkFinger(string FileName = "Fingerprint.bmp", string FilePath = @"c:\Prints\") { if (!Directory.Exists(FilePath)) Directory.CreateDirectory(FilePath); if (!FileName.ToUpper().EndsWith(".BMP")) FileName += ".BMP"; axZKFPEngX1.SaveJPG(FilePath + FileName); }
''' <summary> ''' Use after connect and Enroll ''' </summary> ''' <param name="FileName">Name of destination file</param> ''' <param name="FilePath">Directory to save the template</param> Private Sub SaveBitmap_ZkFinger(Optional FileName As String = "Fingerprint.bmp", Optional FilePath As String = "c:\Prints\") If Not Directory.Exists(FilePath) Then Directory.CreateDirectory(FilePath) End If If Not FileName.ToUpper().EndsWith(".BMP") Then FileName += ".BMP" End If axZKFPEngX1.SaveJPG(FilePath & FileName) End Sub