Description
Read/write property exposing an offset to be added (or multiplied by) to the result of arithmetic operations.
-
Property type
-
A Double value.
-
Syntax
-
object.Offset([lChannel]) [= value]
The Offset Property syntax has these parts: |
| object | An expression evaluating to an object of type McOperations. | | lChannel | Optional. A Long value. Channel index for color images, 0 by default.
| | value | A Double value. | Remarks
This value is added to the result of Add,Sub and Diff while the result of Mul, Div and Div2 will be multiplied by it. For color images, the value is an array when lChannel is negative or omitted.
Exceptions
The exception mceINVALIDARG (E_INVALIDARG) will be thrown if one of the parameters is invalid.
|