Leadtools.ScreenCapture Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
CancelKey Property
See Also 
Leadtools.ScreenCapture Namespace > ScreenCaptureOptions Structure : CancelKey Property



Gets or sets the Cancel key.

Syntax

Visual Basic (Declaration) 
Public Property CancelKey As Keys
Visual Basic (Usage)Copy Code
Dim instance As ScreenCaptureOptions
Dim value As Keys
 
instance.CancelKey = value
 
value = instance.CancelKey
C# 
public Keys CancelKey {get; set;}
C++/CLI 
public:
property Keys CancelKey {
   Keys get();
   void set (Keys value);
}

Return Value

Key code for the key to cancel the capture operation. Default is ESC. You cannot set this to the 'ALT' key. If you do, it will be ignored internally and set to 'ESC'.

Example

For an example, refer to ScreenCaptureEngine.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also