ASP.NETアプリケーションのビューワ上でマウス操作(左/右ボタン)により拡大/縮小を行うことができますか?
対象製品
LEADTOOLS 17.5J Imaging Pro Suite
詳細
マウスの左/右ボタンの操作モードを制御するには、WebImageViewer.MouseInteractiveModeのRightButton/LeftButtonプロパティにより設定できます。
設定可能な操作モードについては、Leadtools.Web.Controls名前空間のImageViewerMouseInteractiveMode列挙体をご参照ください。
サンプルコード(VB.NET)
サンプルコード(C#)
設定可能な操作モードについては、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 マウス操作