예제 #1
0
 /// <summary>
 /// Scan a card
 /// </summary>
 /// <param name="OnUpdate">delegate to receive progress updates</param>
 /// <param name="data">data to pass through to the delegate function</param>
 /// <returns>true if the process completed without error, false otherwise.</returns>
 public bool ScanCard(API.CRTK_Delegate OnUpdate, IntPtr data)
 {
     int retValue = API.CRTK_ScanAcquireEx(RTK, 5, OnUpdate, data);
     return CheckStatus(retValue, "CRTK_ScanAcquireEx");
 }
예제 #2
0
 /// <summary>
 /// Scan a card
 /// </summary>
 /// <param name="OnUpdate">delegate to receive progress updates</param>
 /// <returns>true if the process completed without error, false otherwise.</returns>
 public bool ScanCard(API.CRTK_Delegate OnUpdate)
 {
     return ScanCard(OnUpdate, IntPtr.Zero);
 }
예제 #3
0
 /// <summary>
 /// Scan a card and return the image
 /// </summary>
 /// <param name="OnUpdate">delegate to receive progress updates</param>
 /// <returns></returns>
 public Image ScanAndGetImage(API.CRTK_Delegate OnUpdate, IntPtr data)
 {
     return ScanCard(OnUpdate, data) ? GetImage() : null;
 }
예제 #4
0
 /// <summary>
 /// Read the image in memory
 /// </summary>
 /// <param name="OnUpdate">delegate to receive progress updates</param>
 /// <param name="data">data to pass through to the delegate function</param>
 /// <returns></returns>
 public bool RecognizeImage(API.CRTK_Delegate OnUpdate, IntPtr data)
 {
     int retValue = API.CRTK_Recognize(RTK, OnUpdate, data);
     return CheckStatus(retValue, "CRTK_Recognize");
 }
예제 #5
0
 /// <summary>
 /// Read the image in memory
 /// </summary>
 /// <param name="OnUpdate">delegate to receive progress updates</param>
 /// <returns></returns>
 public bool RecognizeImage(API.CRTK_Delegate OnUpdate)
 {
     return RecognizeImage(OnUpdate, IntPtr.Zero);
 }
예제 #6
0
 public bool RecognizeImage(API.CRTK_Delegate param)
 {
     return Sdk.RecognizeImage(param);
 }