ScreenCaptureExceptionCode Enumeration
Summary
Enumeration that indicates the exceptions that can occur in this command.
Syntax
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
| Value | Member | Description |
| -340 | NoMenu | No menu to capture. |
| -339 | DelayLessThanZero | The provided delay value is less than zero. |
| -338 | StringIdNotDefined | The provided string id is not defined. |
| -337 | CannotCaptureWindow | Cannot capture window. |
| -336 | NoActiveWindow | No active window to capture. |
| -335 | InvalidResourceIndex | Invalid resource index was provided. |
| -333 | Invalid32BitExeOrDll | Invalid 32-bit exe or dll. |
| -332 | FileAccessFailed | Failed to access file. |
| -331 | ZeroAreaSize | Area size cannot be 0. |
| -330 | InvalidInfoWindowSize | Invalid Information Window size was provided. |
| -329 | InvalidInfoWindowPosition | Invalid Information Window position was provided. |
| -328 | InvalidLineStyle | Invalid line type was provided. |
| -327 | InvalidFillPattern | Invalid fill pattern was provided. |
| -326 | NoOptionStructure | No options structure provided. |
| -325 | InvalidAreaType | Invalid area type was provided. |
| -324 | HotkeyConflictsWithCancelKey | The provided HotKey conflicts with the Cancel key. |
| -323 | InvalidInterval | Invalid interval value was provided. |
| -322 | InvalidCount | Invalid count value was provided. |
| -321 | InvalidDelay | Invalid delay value was provided. |
| -320 | StillInProcess | Command is still in process. |
| -313 | CannotCreateHotkeyWindow | Command cannot create the HotKey window. |
| 1 | Success | Command Succeeded. |