Description
Performs a logical XOR between 2 images or an image and a number.
-
Return Type
-
A McImage object.
The resulting McImage.
-
Syntax
-
object.Xor (vOperand2, [vOperand1])
The Xor Method syntax has these parts:
|
| object | An expression evaluating to an object of type McOperations. |
| vOperand2 | Required. A Variant value. Second operand of the operation: McImage, or number (array for color images).
|
| vOperand1 | Optional. A Variant value. Optional first image operand (operator applies to parent image when parameter is omitted), or a number (an array for color images).
|
Remarks
A conversion is performed on vOperand2 so that it has the same type as the source image. The conversion rules are defined by the value of the Conversion property.
The result of the following:
Parent image [or vOperand1] Zor vOperand2
is stored in the parent image or vOperand1 if there is no parent.
Exceptions
The exception mceINVALIDARG (E_INVALIDARG) will be thrown if one of the parameters is invalid.