当前位置:网站首页>图像处理工具包ImagXpress使用教程,如何查看事件
图像处理工具包ImagXpress使用教程,如何查看事件
2020-11-06 22:27:00 【roffey】
ImagXpress 是最先进的彩色映像和照片图像处理工具包,它发布的形式有:.NET控件、COM组件、VC组件。用ImagXpress ,开发者构建的应用程序可以支持图像浏览、编辑、打印、TWAIN扫描、文件格式转换等等。ImagXpress 提供了综合的图像处理函数集,支持30多种文件格式,拥有惊人的图像处理速度。ImagXpress 提供的图像功能还有:复制、旋转、保持图像的透明度、多种图像缩放算法、高级滚动条、自动调整大小和图像融合等。
- 选择工具后,将引发ToolbarSelect事件,以告知应用程序选择了哪个工具。
- 使用工具时,在以下情况下,ToolUse事件引发通知应用程序:单击该工具,该工具处于活动状态并且该工具不再使用。
- 工具栏窗口打开时,将 引发ToolbarOpen事件。
- 当工具栏窗口关闭时,将 引发ToolbarClose事件。
- 选择菜单项后,将弹出MenuSelect 来通知应用程序所做的选择。引发此事件时,将菜单ID提供给事件处理程序。
VB范例
// 写的事件处理程序到调度工作中当用户进行菜单选择
Sub IX1_MenuSelect (long menuType, long tool, long topMenuID, long subMenuID, long user1, long user2)
if (menuType = MenuContext) then
Select Case topMenuID
Case 100 ' Color
MyObj.Color = user1
Case 200 ' Size
MyObj.Size = user1
Case 300 ' Type
SelectCase subMenuID
Case 310
MyObj.DrawLine
Case 320
MyObj.DrawEllipse
Case 330
MyObj.DrawRect
End Select
end if
end sub
最终用户滚动
应用程序最终用户可以使用滚动条更改在“查看窗口”中查看的图像部分。
如果启用了滚动条,则在单击滚动条时,将引发Scroll事件,以警告应用程序有滚动请求。设置ScrollBarLargeChangeH,ScrollBarLargeChangeV,ScrollBarSmallChangeH和ScrollBarSmallChangeV 属性以指示对视图的水平和垂直位置的请求更改量。视图在下一个油漆上更新。
最终用户光标移动
跟踪光标在显示的图像中的位置,如下所示:
- 在XPOS和YPos只读属性返回所显示的图像内的光标的逻辑位置,以像素为单位。
- 的DIBXpos和DIBYpos只读属性相对于返回光标的位置到DIB,以像素为单位。
- 所述PixelColor只读属性返回的像素的在当前光标位置的颜色。
要在显示图像的坐标和DIB中的坐标之间转换,请使用TranslateX和TranslateY方法。
最终用户的鼠标和按键操作
- 当应用程序的最终用户使用鼠标,鼠标事件(点击,DBLCLICK,的MouseUp,的MouseDown,MouseMove事件,OLEDragDrop和OLEDragOver),如果他们已启用(上调EventSetEnabled,EventGetEnabled)。
- 应用程序的最终用户按下按键,按键事件(的KeyDown,按键响应,KEYUP如果密钥已启用()升高KeysGetEnabled,KeysSetEnabled),如果关键事件已启用(EventSetEnabled,EventGetEnabled)。
本文章转载自【慧都科技】。欢迎任何形式的转载,但请务必注明出处、不得修改原文相关链接,尊重他人劳动成果
版权声明
本文为[roffey]所创,转载请带上原文链接,感谢
https://my.oschina.net/u/4587239/blog/4484615
边栏推荐
- 2020-08-29: process thread differences, in addition to the inclusion relationship, the underlying details?
- 移动端像素适配方案
- Nonvolatile MRAM memory used in all levels of cache
- 2020-08-20: the difference between go and python?
- [byte jumps, autumn recruitment Posts open] ohayoo! Don't leave after school, I want to ask you to play games!!!
- C and C / C + + mixed programming series 5 - GC collaboration of memory management
- Message queue - Analysis
- Erd-online free online database modeling tool
- 迅为-iMX6ULL开发板上配置AP热点
- 【涂鸦物联网足迹】涂鸦云平台全景介绍
猜你喜欢
Introduction to the development of small game cloud
The memorandum model of behavior model
September 9, 2020: naked writing algorithm: two threads print numbers 1-100 in turn.
How to start the hidden preferences in coda 2 on the terminal?
WebAPI接口设计:SwaggerUI文档 / 统一响应格式 / 统一异常处理 / 统一权限验证
2020-08-24:什么是小文件?很多小文件会有什么问题?很多小文件怎么解决?(大数据)
All the way, I was forced to talk about C code debugging skills and remote debugging
The first choice for lightweight GPU applications is the NVIDIA vgpu instance launched by Jingdong Zhilian cloud
如何创建交互式内核密度图表
Cloudquery v1.2.0 release
随机推荐
2020 database technology conference helps technology upgrade
How much disk space does a new empty file take?
2020-09-09:裸写算法:两个线程轮流打印数字1-100。
甘特图对活动进行分组教程
Introduction to the development of small game cloud
Application insights application insights use application maps to build request link views
2020-08-24:什么是小文件?很多小文件会有什么问题?很多小文件怎么解决?(大数据)
小程序商城系统插件代码该如何写?怎么用代码检查添加插件是否成功?
Application of UHF RFID medical blood management system
Reserved battery interface, built-in charge and discharge circuit and electricity meter, quickly help easily handle hand-held applications
Count the number of project code lines
QT audio and video development 46 video transmission UDP version
RFID fixed assets management system for fire equipment
打工人好物——磨炼钢铁意志就要这样高效的电脑
2020-08-19:TCP是通过什么机制保障可靠性的?
All the way, I was forced to talk about C code debugging skills and remote debugging
Nodejs中使用jsonwebtoken(JWT)生成token的场景使用
ImageMagick - 添加水印
Python 100 cases
Visual rolling [contrast beauty]