的ImageViewerInteractiveMode它当前正在处理输入事件(正在工作)。
公共虚拟ImageViewerInteractiveModeWorkingInteractiveMode {得到;}
公共重写的只读的财产WorkingInteractiveMode ()作为ImageViewerInteractiveMode得到
公共:虚拟财产ImageViewerInteractiveMode^ WorkingInteractiveMode{ImageViewerInteractiveMode^ get ()}
的ImageViewerInteractiveMode它当前正在处理输入事件(正在工作)。
imageview将钩到ImageViewerInteractiveMode。WorkStarted和ImageViewerInteractiveMode。WorkCompleted的交互模式InteractiveModes.当工作开始或完成时propertychange的值和属性名“WorkingInteractiveMode”一起触发事件WorkingInteractiveMode相应的更新。使用WorkingInteractiveMode执行应用程序所需的任何自定义操作。
对于支持鼠标指针的设备,光标将更改为的值ImageViewerInteractiveMode。WorkingCursor当交互模式工作时。
有关更多信息,请参阅图像查看器交互模式.
这个例子将跟踪工作交互模式值,并将其设置在标签中。
运行演示,单击Example按钮。
从imageview例如,删除示例函数内的所有代码(搜索“// TODO: add example code here”注释),并插入以下代码:
使用Leadtools;使用Leadtools.Controls;使用Leadtools.Codecs;使用Leadtools.Drawing;使用Leadtools.ImageProcessing;使用Leadtools.ImageProcessing.Color;公共无效ImageViewerWorkingInteractiveMode_Example (){如果(_imageViewer。WorkingInteractiveMode ! =零){游标savedCursor = _imageViewer.WorkingInteractiveMode.WorkingCursor;/ /保存_imageViewer.WorkingInteractiveMode。WorkOnBounds =真正的;_imageViewer.WorkingInteractiveMode。WorkingCursor = Cursors.WaitCursor;_imageViewer.WorkingInteractiveMode.Start (_imageViewer);_imageViewer.WorkingInteractiveMode。WorkCompleted += (sender, e) =>{//将工作光标重置为已保存的光标_imageViewer.WorkingInteractiveMode。WorkingCursor = savedCursor;};}}
进口Leadtools进口Leadtools。控制进口Leadtools。编解码器进口Leadtools。画进口Leadtools。ImageProcessing进口Leadtools.ImageProcessing.Color进口LeadtoolsControlsExamples.LeadtoolsExamples.Common公共子ImageViewerWorkingInteractiveMode_Example ()如果不_imageViewer。WorkingInteractiveMode是没有什么然后昏暗的savedCursor作为游标= _imageViewer.WorkingInteractiveMode.WorkingCursor“拯救_imageViewer.WorkingInteractiveMode。WorkOnBounds =真正的_imageViewer.WorkingInteractiveMode。WorkingCursor =游标。WaitCursor_imageViewer.WorkingInteractiveMode.Start (_imageViewer)AddHandler_imageViewer.WorkingInteractiveMode.WorkCompleted,子(发送者,e)'将工作光标重置为已保存的光标_imageViewer.WorkingInteractiveMode。WorkingCursor = savedCursor结束子结束如果结束子
帮助收藏
光栅net|C API|c++类库|HTML5 JavaScript
文档net|C API|c++类库|HTML5 JavaScript
医疗net|C API|c++类库|HTML5 JavaScript
医疗网络查看器net
188宝金博怎么下载
支持的平台上
.NET、Java、Android和iOS/macOS程序集
C API/ c++类库
HTML5 JavaScript库
您的邮件已发送给技术支持!应该有人联系!如果你的事情很紧急,请回来聊天。
聊天时间:
周一至周五,美国东部时间上午8:30至下午6:00
感谢您的反馈!
请再次填写表格,开始新的聊天。
所有代理目前都离线。
聊天时间:
星期一至星期五
美国东部时间上午8:30 -下午6点
如需与我们联系,请填写此表格,我们将通过电子邮件与您联系。
