←Select platform

ScreenCaptureExceptionCode Enumeration

Summary
Enumeration that indicates the exceptions that can occur in this command.

Syntax
C#
C++/CLI
Python
public enum ScreenCaptureExceptionCode 
public enum class ScreenCaptureExceptionCode : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable   
class ScreenCaptureExceptionCode(Enum): 
   Success = 1 
   NoMenu = -340 
   DelayLessThanZero = -339 
   StringIdNotDefined = -338 
   CannotCaptureWindow = -337 
   NoActiveWindow = -336 
   InvalidResourceIndex = -335 
   Invalid32BitExeOrDll = -333 
   FileAccessFailed = -332 
   ZeroAreaSize = -331 
   InvalidInfoWindowSize = -330 
   InvalidInfoWindowPosition = -329 
   InvalidLineStyle = -328 
   InvalidFillPattern = -327 
   NoOptionStructure = -326 
   InvalidAreaType = -325 
   HotkeyConflictsWithCancelKey = -324 
   InvalidInterval = -323 
   InvalidCount = -322 
   InvalidDelay = -321 
   StillInProcess = -320 
   CannotCreateHotkeyWindow = -313 
Members
ValueMemberDescription
-340NoMenuNo menu to capture.
-339DelayLessThanZeroThe provided delay value is less than zero.
-338StringIdNotDefinedThe provided string id is not defined.
-337CannotCaptureWindowCannot capture window.
-336NoActiveWindowNo active window to capture.
-335InvalidResourceIndexInvalid resource index was provided.
-333Invalid32BitExeOrDllInvalid 32-bit exe or dll.
-332FileAccessFailedFailed to access file.
-331ZeroAreaSizeArea size cannot be 0.
-330InvalidInfoWindowSizeInvalid Information Window size was provided.
-329InvalidInfoWindowPositionInvalid Information Window position was provided.
-328InvalidLineStyleInvalid line type was provided.
-327InvalidFillPatternInvalid fill pattern was provided.
-326NoOptionStructureNo options structure provided.
-325InvalidAreaTypeInvalid area type was provided.
-324HotkeyConflictsWithCancelKeyThe provided HotKey conflicts with the Cancel key.
-323InvalidIntervalInvalid interval value was provided.
-322InvalidCountInvalid count value was provided.
-321InvalidDelayInvalid delay value was provided.
-320StillInProcessCommand is still in process.
-313CannotCreateHotkeyWindowCommand cannot create the HotKey window.
1SuccessCommand Succeeded.
Requirements

Target Platforms

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

Leadtools.ScreenCapture Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.