当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- 2020-08-19: what mechanism does TCP ensure reliability?
- To solve the problem that the data interface is not updated after WPF binding set
- Using iceberg on kubernetes to create a new generation of cloud original data Lake
- Big data processing black Technology: revealing the parallel computing technology of Pb level data warehouse gaussdb (DWS)
- 2020-08-19:TCP是通过什么机制保障可靠性的?
- 2020-08-15:什么情况下数据任务需要优化?
- Es create a new index database and copy the old index library, practice pro test effective!
- 移动端像素适配方案
- August 30, 2020: naked write algorithm: the nearest common ancestor of two nodes in a binary tree.
- 大佬们如何在nginx镜像里面增加模块?
猜你喜欢

Utility class functions (continuous update)

Application of UHF RFID medical blood management system

The use of Xunwei imx6 development board device tree kernel menuconfig

All the way, I was forced to talk about C code debugging skills and remote debugging

Web API interface design: swaggerui document / unified response format / unified exception handling / unified authority verification

RFID fixed assets management system for fire equipment

ado.net and asp.net The relationship between

STM32F030C6T6兼容替换MM32SPIN05PF

Git remote library rollback specified version

Points to be considered when deleting mapping field of index in ES
随机推荐
2020-08-15:什么情况下数据任务需要优化?
2020-08-14:数据任务的执行引擎用的哪些?
Empty test suite appears in JUnit test
非易失性MRAM存储器应用于各级高速缓存
win7 APPCRASH(解决方法)(转)
VARCHART XGantt如何在日历上表示工作日
Composition of MRAM cache
[elastic search engine]
Stm32f030c6t6 compatible to replace mm32spin05pf
Interviewer: how about shardingsphere
应用层软件开发教父教你如何重构,资深程序员必备专业技能
Common mathematical basic formulas of recursive and backtracking algorithms
预留电池接口,内置充放电电路及电量计,迅为助力轻松搞定手持应用
Es create a new index database and copy the old index library, practice pro test effective!
Common syntax corresponding table of mongodb and SQL
How to deploy Gantt chart quickly and correctly
Win7 AppCrash (solution)
20 XR projects roadshows, nearly 20 capital institutions attended! We sincerely invite you to attend the 2020 qcomm XR eco Partner Conference
Mobile pixel adaptation scheme
Stickinengine architecture 11 message queue