Description

Initialize a Custom general purpose filter.

Return Type

None  

Syntax

object.Initialize mode, Kernel, vData, SourceRegionAccess, DestRegionAccess

The Initialize Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McFilterLine.
modeRequired. A Long value.

Filtering mode, see mcFilterCustomMode.

KernelRequired. A McKernel object.

McKernel* : The McKernel used for this filter.

vDataRequired. A Variant value.

Custom data passed to Custom filter.

SourceRegionAccessRequired. A McRegionAccess object.

IMcRegionAccess* : Input region access.

DestRegionAccessRequired. A McRegionAccess object.

IMcRegionAccess* : Output region access.

Remarks

This mehod is called by Custom once, before processing the first line.