Leadtools.Windows.Controls Namespace > ImageViewer Class : CancelInteractiveMode Method |
public virtual void CancelInteractiveMode()
'Declaration Public Overridable Sub CancelInteractiveMode()
'Usage Dim instance As ImageViewer instance.CancelInteractiveMode()
public virtual void CancelInteractiveMode()
function Leadtools.Windows.Controls.ImageViewer.CancelInteractiveMode()
public: virtual void CancelInteractiveMode();
Use this method to cancel any interactive modes currently being performed in the control. Use the IsInteractiveModeBusy property to check if the control is currently performing an interactive mode operation.
You can also cancel the interactive mode by subscribing to the corresponding OnInteractiveXYZ event and setting the InteractiveEventArgs.Cancel property. The CancelInteractiveMode method provide a general purpose canceling method even if the control is not currently busy.
For C#/VB examples, refer to IsInteractiveModeBusy.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2