CogDisplay Selection Property Cognex VisionPro 9.7
Returns the collection of currently selected interactive shapes in the display.

Warning: The Display does _NOT_ raise changed events when the selected graphics change! Additionally, a new CogGraphicInteractiveCollection is returned every time the getter for this property is called.

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

public virtual CogGraphicInteractiveCollection Selection { get; }

Property Value

Type: CogGraphicInteractiveCollection
The collection of selected interactive shapes.
Exceptions

See Also