111,120
社区成员
发帖
与我相关
我的任务
分享HImage 换成HObject,hwindow需要赋值hWindow=halconWindowControl1.HalconWindow或者直接删掉
HObject ho_image;//不需要new
HOperatorSet.ReadImage(out ho_image, filename);
halconWindowControl1.HalconWindow.DispObj(ho_Image);
//设置让其图像适应控件大小(等比例缩放不失真)
halconWindowControl1.SetFullImagePart();
ho_Image.Dispose();
参考网址
https://blog.csdn.net/bpg5678/article/details/134134362
https://blog.csdn.net/qq_32147331/article/details/121016355