コード例 #1
0
 public void Dispose()
 {
     if (Inited)
     {
         if (ImgObj != 0)
         {
             NsOCR.Img_Destroy(ImgObj);
         }
         if (OcrObj != 0)
         {
             NsOCR.Ocr_Destroy(OcrObj);
         }
         if (CfgObj != 0)
         {
             NsOCR.Cfg_Destroy(CfgObj);
         }
         if (ScanObj != 0)
         {
             NsOCR.Scan_Destroy(ScanObj);
         }
         NsOCR.Engine_Uninitialize();
     }
 }