CogBeadInspectRunParams CopyMaskAndFillLists Method Cognex VisionPro 9.7
Copies the MaskList, the RightFillList, and the LeftFillList from the given CogBeadInspectRunParams, without changing the size of the existing lists in this object. The lists from the given CogBeadInspectRunParams are truncated, or extended with "false" values, to fit within the existing lists.

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

public void CopyMaskAndFillLists(
	CogBeadInspectRunParams other
)
Events

Event TypeReason
ICogChangedEvent Changed Fires when this method changes the MaskList, RightFillList, and/or LeftFillList properties. The following state flags may be affected:
Exceptions

ExceptionCondition
ArgumentNullExceptionother is null.
Remarks

If the existing lists in this object have a different size than those in other, here is what happens:
  • If the lists in other are longer, only the initial portion of those lists is copied.
  • If the lists in other are shorter, the full lists are copied, and then the copies are extended (at the end) with Boolean "false" values.
  • If the lists in other are null, they are copied as if they contained the correct number of Boolean "false" values.
  • If the existing lists in this object are null, there is no effect. No copying occurs.
See Also