Description

Read-write property exposing the kernel's coefficients.

Property type

A Variant value.  

Syntax

object.Coefficients([x], [y]) [= value]

The Coefficients Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McKernel.
xOptional. A Long value.

Optional x coordinate of the coefficient.

yOptional. A Long value.

Optional y coordinate of the coefficient.

valueA Variant value.

Remarks

When x and y are specified (positive values) the property returns/sets a single coefficient, if x/y is omitted or negative a row/column is returned. If both x and y are omitted or negative the property returns/sets all the kernel's Coefficients.

For a kernel containing several definitions (Count > 1), this property reflects the definition identified by Index.

Exceptions

E_INVALIDARG, E_POINTER.