Description

Read-write property exposing the number of definitions in this kernel.

Property type

A Long value.  

Syntax

object.Count [= value]

The Count Property syntax has these parts:

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

Remarks

A kernel may contain an unlimited number of definitions. When used in convolution or morphological filters, all the definitions of such a kernel are applied one after the other.

Exceptions

The exception mceINVALIDARG (E_INVALIDARG) will be thrown if one of the parameters is invalid.