CancelKey Property

Summary

Gets or sets the Cancel key.

Syntax
C#
VB
C++
public Keys CancelKey { get; set; } 
  
Public Property CancelKey As Keys 
public: 
property Keys CancelKey { 
   Keys get(); 
   void set (    Keys ); 
} 

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

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ScreenCapture Assembly