public void OpenFile(string FileName)
        {
            NsOCR.Cfg_SetOption(CfgObj, TNSOCR.BT_DEFAULT, "ImgAlizer/AutoScale", "0");
            NsOCR.Cfg_SetOption(CfgObj, TNSOCR.BT_DEFAULT, "ImgAlizer/ScaleFactor", "1.0"); //default scale if cannot detect it automatically

            int res = NsOCR.Img_LoadFile(ImgObj, FileName);

            if (res > TNSOCR.ERROR_FIRST)
            {
                MessageBox.Show("Error Load File!");
                return;
            }

            DoImageLoaded();
        }