Empty Method

NI Vision for Visual Basic

Empty Method

Syntax

CWIMAQIgnoreColorSpectra.Empty

Purpose

Clears all color information from the IgnoreColorSpectra. After calling this method, all colors in the template are learned.

Example

Dim LearnOptions As New CWIMAQLearnColorPatternOptions

'Empty the IgnoreColorSpectra so that no colors are ignored by 
'LearnColorPattern and MatchColorPattern
LearnOptions.IgnoreColorSpectra.Empty

See Also

AddColorInformation