private SetConfigurationFile ( IntPtr tesseractHandle, string filename ) : void | ||
tesseractHandle | IntPtr | |
filename | string | |
return | void |
public static extern void SetConfigurationFile(IntPtr tesseractHandle, string filename);
/// <summary> /// Sets the configuration file /// </summary> /// <param name="filename">Config Filename</param> /// <param name="isDebug">Is Debug</param> public void SetConfigurationFile(string filename, bool isDebug = false) { if(m_Handle != IntPtr.Zero) { if(!isDebug) { TesseractOCRBridge.SetConfigurationFile(m_Handle, filename); } else { TesseractOCRBridge.SetDebugConfigurationFile(m_Handle, filename); } } }