LEADTOOLS Screen Capture (Leadtools.ScreenCapture assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
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);
}

Property 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 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also