Visual Basic (Declaration) | |
---|---|
Public Overridable Sub CancelInteractiveMode() |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As ImageViewer instance.CancelInteractiveMode() |
C# | |
---|---|
public virtual void CancelInteractiveMode() |
C++/CLI | |
---|---|
public: virtual void CancelInteractiveMode(); |
For C#/VB examples, refer to ImageViewer.IsInteractiveModeBusy.
Use this method to cancel any interactive modes currently being performed in the control. Use the ImageViewer.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.
Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family