ASP.NETアプリケーションのビューワ上でマウス操作(左/右ボタン)により拡大/縮小を行うことができますか?

文書番号 : 36608     文書種別 : 使用方法     登録日 : 2013/10/08     最終更新日 : 2014/10/21
文書を印刷する
対象製品
LEADTOOLS 17.5J Imaging Pro Suite
詳細
マウスの左/右ボタンの操作モードを制御するには、WebImageViewer.MouseInteractiveModeのRightButton/LeftButtonプロパティにより設定できます。
設定可能な操作モードについては、Leadtools.Web.Controls名前空間のImageViewerMouseInteractiveMode列挙体をご参照ください。

サンプルコード(VB.NET)
' 右ボタンで拡大、左ボタンで縮小
WebImageViewer1.MouseInteractiveMode.RightButton = Leadtools.Web.Controls.ImageViewerMouseInteractiveMode.ZoomIn
WebImageViewer1.MouseInteractiveMode.LeftButton = Leadtools.Web.Controls.ImageViewerMouseInteractiveMode.ZoomOut

サンプルコード(C#)
// 右ボタンで拡大、左ボタンで縮小
WebImageViewer1.MouseInteractiveMode.RightButton = Leadtools.Web.Controls.ImageViewerMouseInteractiveMode.ZoomIn;
WebImageViewer1.MouseInteractiveMode.LeftButton = Leadtools.Web.Controls.ImageViewerMouseInteractiveMode.ZoomOut;
キーワード
ASP.NET マウス操作