int OcrScanCallback(int nEvent, IntPtr hBitmap, IntPtr pCallbackData) { if (nEvent == SmartOcrSdkExports.OCR_SE_IMAGE_SCANNED && hBitmap != IntPtr.Zero) { SmartOcrSdkExports.OCR_AddPageFromHBITMAP(hBitmap, -1, -1); } return(1); }
int OcrScanCallback(int nEvent, IntPtr hBitmap, IntPtr pCallbackData) { if (nEvent == SmartOcrSdkExports.OCR_SE_IMAGE_SCANNED && hBitmap != IntPtr.Zero) { SmartOcrSdkExports.OCR_AddPageFromHBITMAP(hBitmap, -1, -1); } return(1); }