# value property

int value

Gets the enumeration value as int. return The value.

## Implementation

    int get value {
        	switch (this) {
          	case ImageError.success:
            	return 0;
          	case ImageError.insufficientBuffer:
            	return -1;
          	case ImageError.objectDoesNotExist:
            	return -2;
          	case ImageError.base:
            	return -3000;
          	case ImageError.minimum:
            	return -3999;
          	case ImageError.invalidHandle:
            	return -3001;
          	case ImageError.invalidParameter:
            	return -3002;
          	case ImageError.imageSizeMismatch:
            	return -3003;
          	case ImageError.pixelFormatMismatch:
            	return -3004;
          	case ImageError.keyAlreadyExists:
            	return -3005;
          	case ImageError.keyNotFound:
            	return -3006;
          	case ImageError.invalidPixelFormat:
            	return -3007;
          	case ImageError.pythonModule:
            	return -3008;
          	case ImageError.functionNotImplemented:
            	return -3009;
          	case ImageError.backendError:
            	return -3010;
    	}
      	}