浏览代码

更新sysMgrapp 图像高度值

thermoscientific@163.com 4 年之前
父节点
当前提交
86c56add6d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      OTSSysMgrApp/ControllerSettingForm.cs

+ 1 - 1
OTSSysMgrApp/ControllerSettingForm.cs

@@ -245,7 +245,7 @@ namespace OTSSysMgrApp
                     byte[] ImageByte = new byte[width * height];
                     Bitmap bitmap = null;
                     int iWidth = Convert.ToInt32(tbRWidth.Text);
-                    int iHeight = Convert.ToInt32(tbRWidth.Height);
+                    int iHeight = Convert.ToInt32(tbRHeight.Text);
                     int resultValue = ImageDispose.GetScanImage(iWidth, iHeight, ddlDwellTime.Text, ref ImageByte);
                     string str2 = table["str2"].ToString();