当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- How to write plug-in code of small program mall system? How to use code to check whether the plug-in is successfully added?
- List to map (split the list according to the key, and the value of the same key is a list)
- #JVM 类加载机制
- STM32F030K6T6兼容替换灵动MM32F031K6T6
- Windows 10 Bluetooth management page 'add Bluetooth or other devices' option click no response solution
- 应用层软件开发教父教你如何重构,资深程序员必备专业技能
- How does varhart xgantt represent working days on a calendar
- 如何才能快速正确的部署甘特图
- FreeSWITCH视频会议“标准”解决方案
- Qt音视频开发46-视频传输UDP版
猜你喜欢
Google browser realizes video playback acceleration function
Two dimensional code location and alarm system of Expressway
What the hell is fastthreadlocal? The existence of ThreadLocal!!
In 2020, how can wechat seal numbers be quickly lifted?
Ora-02292: complete constraint violation (midbjdev2.sys_ C0020757) - subrecord found
20个XR项目路演,近20个资本机构出席!诚邀您参加2020 Qualcomm XR生态合作伙伴大会
Application layer software development Godfather teaches you how to refactor, senior programmers must professional skills
Application of UHF RFID medical blood management system
VARCHART XGantt入门教程
[byte jumps, autumn recruitment Posts open] ohayoo! Don't leave after school, I want to ask you to play games!!!
随机推荐
Application insights application insights use application maps to build request link views
September 9, 2020: naked writing algorithm: two threads print numbers 1-100 in turn.
2020-08-17: how to solve data skew in detail?
C and C / C + + mixed programming series 5 - GC collaboration of memory management
New features of vue3
Es create a new index database and copy the old index library, practice pro test effective!
[byte jumps, autumn recruitment Posts open] ohayoo! Don't leave after school, I want to ask you to play games!!!
Detailed software engineering -- the necessary graphs in each stage
插件Bilibili新版0.5.5
Nodejs中使用jsonwebtoken(JWT)生成token的场景使用
How to add modules to nginx image?
Practice of Xiaoxiong school development board: real equipment access of smart street lamp sandbox experiment
Open source a set of minimalist front and rear end separation project scaffold
Web API interface design: swaggerui document / unified response format / unified exception handling / unified authority verification
Points to be considered when deleting mapping field of index in ES
The advantages and functions of psychological counseling app
Summary of common SQL statements
August 24, 2020: what are small documents? What's wrong with a lot of small files? How to solve many small files? (big data)
STM32F030F4P6兼容灵动微MM32F031F4P6
心理咨询app开发所具备的优点与功能