CogPMAlignMulti SelectedIndex Property Cognex VisionPro 9.7
Gets of sets the selected pattern. It is used by CreateCurrentRecord() to create the PatternTrainImage record. It is used by the edit control to specify the pattern selected in the grid.

Namespace: Cognex.VisionPro.PMAlign
Assembly: Cognex.VisionPro.PMAlign (in Cognex.VisionPro.PMAlign.dll) Version: 73.0.0.0
Syntax

public int SelectedIndex { get; set; }

Property Value

Type: Int32
The default value is -1 (non selected).
Events

Event TypeReason
ICogChangedEvent ChangedFires when this property changes. The SfSelectedIndex state flag may be affected.
Exceptions

ExceptionCondition
ArgumentOutOfRangeExceptionIf the supplied value is less than -1 or greater than the items in the collection.
See Also