• 大小: 13.32M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: 图片  鼠标  C#  c  联合  Halcon  

资源简介

本实例展示了halcon与C#联合编程之鼠标控制图片缩放,拖动,roi

资源截图

代码片段和文件信息

using HalconDotNet;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HalconPaint
{
    class HalconTool
    {
        // Procedures 
        // External procedures 
        // Chapter: Graphics / Text
        // Short Description: This procedure writes a text message. 
        public static void disp_message(HTuple hv_WindowHandle HTuple hv_String HTuple hv_CoordSystem
            HTuple hv_Row HTuple hv_Column HTuple hv_Color HTuple hv_Box)
        {



            // Local iconic variables 

            // Local control variables 

            HTuple hv_Red = null hv_Green = null hv_Blue = null;
            HTuple hv_Row1Part = null hv_Column1Part = null hv_Row2Part = null;
            HTuple hv_Column2Pa

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-06-04 23:55  HalconPaint\
     文件        4187  2017-06-04 23:56  HalconPaint\HalconPaint.csproj
     文件       31253  2017-05-24 19:40  HalconPaint\HalconTool.cs
     文件       13540  2017-06-04 23:45  HalconPaint\PaintForm.Designer.cs
     文件       14261  2017-06-04 23:45  HalconPaint\PaintForm.cs
     文件       13625  2017-06-04 23:45  HalconPaint\PaintForm.resx
     文件         496  2017-05-24 17:02  HalconPaint\Program.cs
     目录           0  2017-06-04 23:55  HalconPaint\Properties\
     文件        1354  2017-05-24 15:30  HalconPaint\Properties\AssemblyInfo.cs
     文件        2862  2017-05-24 15:30  HalconPaint\Properties\Resources.Designer.cs
     文件        5612  2017-05-24 15:30  HalconPaint\Properties\Resources.resx
     文件        1111  2017-05-24 15:30  HalconPaint\Properties\Settings.Designer.cs
     文件         249  2017-05-24 15:30  HalconPaint\Properties\Settings.settings
     文件         144  2017-05-24 15:30  HalconPaint\app.config
     目录           0  2017-06-04 23:55  HalconPaint\bin\
     目录           0  2017-06-04 23:55  HalconPaint\bin\Debug\
     文件       71680  2017-06-04 23:43  HalconPaint\bin\Debug\HWindow_Tool.dll
     文件      212480  2017-06-04 23:43  HalconPaint\bin\Debug\HWindow_Tool.pdb
     文件       31744  2017-06-04 23:56  HalconPaint\bin\Debug\HalconPaint.exe
     文件         144  2017-05-24 15:30  HalconPaint\bin\Debug\HalconPaint.exe.config
     文件       44544  2017-06-04 23:56  HalconPaint\bin\Debug\HalconPaint.pdb
     文件       22984  2017-06-04 23:59  HalconPaint\bin\Debug\HalconPaint.vshost.exe
     文件         144  2017-05-24 15:30  HalconPaint\bin\Debug\HalconPaint.vshost.exe.config
     文件         490  2015-10-30 15:19  HalconPaint\bin\Debug\HalconPaint.vshost.exe.manifest
     文件    32320568  2015-01-25 21:21  HalconPaint\bin\Debug\halcon.dll
     文件     1279544  2014-11-15 02:27  HalconPaint\bin\Debug\halcondotnet.dll
     文件     4074746  2014-11-15 01:07  HalconPaint\bin\Debug\halcondotnet.xml
     文件     5039926  2017-05-12 22:33  HalconPaint\bin\Debug\测试.bmp
     目录           0  2017-06-05 00:02  HalconPaint\bin\Release\
     目录           0  2017-06-04 23:55  HalconPaint\obj\
     目录           0  2017-06-04 23:55  HalconPaint\obj\x86\
............此处省略12个文件信息

评论

共有 条评论