c#
VB
c++
集合中找到一个交互模式由于其id。
公共ImageViewerInteractiveModeFindById (
intid
)
公共函数FindById (
按值传递id作为整数
)作为ImageViewerInteractiveMode
公共:
ImageViewerInteractiveMode^ FindById (
intid
)
id
ID找到
如果有任何发现的交互模式零否则。
该方法将遍历所有集合中的项目和返回的模式Id等于id。如果没有找到这样的模式就会回来零。
使用Leadtools;
使用Leadtools.Controls;
使用Leadtools.Codecs;
使用Leadtools.Drawing;
使用Leadtools.ImageProcessing;
使用Leadtools.ImageProcessing.Color;
ImageViewerPanZoomInteractiveMode panZoom = _imageViewer.InteractiveModes.FindById (ImageViewerInteractiveMode.PanZoomModeId)作为ImageViewerPanZoomInteractiveMode;
ControlInertiaScrollOptions inertiaOptions = panZoom.InertiaScrollOptions;
inertiaOptions。IsEnabled =真正的;
panZoom。InertiaScrollOptions = inertiaOptions;
进口Leadtools
进口Leadtools.Controls
进口Leadtools.Codecs
进口Leadtools.Drawing
进口Leadtools.ImageProcessing
进口Leadtools.ImageProcessing.Color
昏暗的panZoom作为ImageViewerPanZoomInteractiveMode = TryCast (_imageViewer.InteractiveModes.FindById (ImageViewerInteractiveMode.PanZoomModeId),
ImageViewerPanZoomInteractiveMode)
昏暗的inertiaOptions作为ControlInertiaScrollOptions = panZoom.InertiaScrollOptions
inertiaOptions。IsEnabled =真正的
panZoom。InertiaScrollOptions = inertiaOptions
帮助收藏
光栅net|C API|c++类库|HTML5 JavaScript
文档net|C API|c++类库|HTML5 JavaScript
医疗net|C API|c++类库|HTML5 JavaScript
医疗Web查看器net
188宝金博怎么下载
支持的平台上
net, Java, Android和iOS / macOS组件
C / c++类库的API
HTML5 JavaScript库
你的邮件已经发送到支持!有人应该联系!如果你的问题是紧急请回到聊天。
聊天时间:
周一——周五,上午6点等
谢谢你的反馈!
请填写表单重新开始一个新的聊天。
所有代理目前离线。
聊天时间:
周一-周五
早上8:30 - 6点
联系我们请填写这张表格,我们将通过电子邮件联系你。