当前位置:网站首页>Image processing toolkit imagexpresshow to view events
Image processing toolkit imagexpresshow to view events
2020-11-06 22:27:00 【roffey】
ImagXpress Is the most advanced color image and photo image processing kit , It's released in the form of :.NET Control 、COM Components 、VC Components . use ImagXpress , Developers build applications that support image browsing 、 edit 、 Print 、TWAIN scanning 、 File format conversion and so on .ImagXpress A comprehensive set of image processing functions is provided , Support 30 Multiple file formats , With amazing image processing speed .ImagXpress The image function provided also includes : Copy 、 rotate 、 Keep the image transparent 、 A variety of image scaling algorithms 、 Advanced scroll bar 、 Automatic resizing and image fusion .
- After selecting the tool , Will lead to ToolbarSelect event , To tell the application which tool to choose .
- When using tools , In the following cases ,ToolUse Event raises the notification application : Click the tool , The tool is active and is no longer in use .
- When the toolbar window opens , take trigger ToolbarOpen event .
- When the toolbar window is closed , take trigger ToolbarClose event .
- After selecting the menu item , Will pop up MenuSelect To inform the application of the choice . When this event was triggered , Put the menu ID Provided to the event handler .
VB Example
// Write the event handler to the scheduler when the user makes a menu selection
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
End user scrolling
The end user of the application can use the scroll bar to change in “ View the window ” The image section of view in .
If the scroll bar is enabled , When you click the scroll bar , Will lead to Scroll event , To alert the application that there is a scrolling request . Set up ScrollBarLargeChangeH,ScrollBarLargeChangeV,ScrollBarSmallChangeH and ScrollBarSmallChangeV Property to indicate the amount of requested changes to the horizontal and vertical position of the view . The view updates on the next paint .
End user cursor moves
Track the position of the cursor in the displayed image , As shown below :
- stay XPOS and YPos The read-only property returns the logical position of the cursor in the displayed image , In pixels .
- Of DIBXpos and DIBYpos Read only property relative to return cursor position to DIB, In pixels .
- Described PixelColor The color of the pixel returned by the read-only property at the current cursor position .
To display the coordinates of the image and DIB Coordinate conversion between coordinates in , Please use TranslateX and TranslateY Method .
End user mouse and button operations
- When the end user of the application uses the mouse , Mouse events ( Click on ,DBLCLICK, Of MouseUp, Of MouseDown,MouseMove event ,OLEDragDrop and OLEDragOver), If they have enabled ( raise EventSetEnabled,EventGetEnabled).
- The end user of the application presses a key , Key events ( Of KeyDown, Key response ,KEYUP If the key is enabled () elevated KeysGetEnabled,KeysSetEnabled), If critical events are enabled (EventSetEnabled,EventGetEnabled).
This article is reprinted from 【 Huidu technology 】. Any reprint is welcome , But be sure to indicate the source 、 Do not modify the original link , Respect for the work of others
版权声明
本文为[roffey]所创,转载请带上原文链接,感谢
边栏推荐
- 如何才能快速正确的部署甘特图
- The 4th China BIM (digital construction) manager Summit Forum will be held in Hangzhou in 2020
- Stm32f030c6t6 compatible to replace mm32spin05pf
- [forward] how to view UserData in Lua
- August 24, 2020: what are small documents? What's wrong with a lot of small files? How to solve many small files? (big data)
- The isolation level of transaction and its problems
- [learning] interface test case writing and testing concerns
- C language I blog assignment 03
- Two dimensional code location and alarm system of Expressway
- 轻量型 GPU 应用首选 京东智联云推出 NVIDIA vGPU 实例
猜你喜欢
![[forward] how to view UserData in Lua](/img/3b/00bc81122d330c9d59909994e61027.jpg)
[forward] how to view UserData in Lua

Experiment one

“非洲用户的付费意愿并不低”——专访四达时代研发总监张亮

STM32F030K6T6兼容替换灵动MM32F031K6T6

迅为-iMX6ULL开发板上配置AP热点

Characteristics of magnetic memory chip STT-MRAM

Benefits and functions of auto maintenance app development

Bluetooth broadcast chip for Shanghai giant micro

Stm32f030k6t6 compatible replacement smart mm32f031k6t6

Common syntax corresponding table of mongodb and SQL
随机推荐
Novice guidance and event management system in game development
Using JSON webtoken (JWT) to generate token in nodejs
[self taught unity2d legendary game development] map editor
Js字符串-String字符串对象方法
Bluetooth broadcast chip for Shanghai giant micro
vue3 新特性
Empty test suite appears in JUnit test
Big data processing black Technology: revealing the parallel computing technology of Pb level data warehouse gaussdb (DWS)
The 4th China BIM (digital construction) manager Summit Forum will be held in Hangzhou in 2020
2020-08-17:详细说下数据倾斜怎么解决?
Detailed software engineering -- the necessary graphs in each stage
Characteristics of magnetic memory chip STT-MRAM
Markdown tricks
大佬们如何在nginx镜像里面增加模块?
2020-08-19:TCP是通过什么机制保障可靠性的?
南京标识标牌设计制作,导视VI系统设计
心理咨询app开发所具备的优点与功能
实验一
September 3, 2020: naked writing algorithm: loop matrix traversal.
非易失性MRAM存储器应用于各级高速缓存