Adds a Cog3DVisionDataGraphicBase item to the display to the given group.
Throws an exception if the item is null.
Throws an exception if the item has already been added to the display.
Throws an exception if the groupName is null or empty string.
Namespace: Cognex.VisionPro3DAssembly: Cognex.VisionPro3D.Display.Controls (in Cognex.VisionPro3D.Display.Controls.dll) Version: 65.1.0.0 (65.1.0.0)
Syntax
Parameters
- item
- Type: Cognex.VisionPro3D Cog3DVisionDataGraphicBase
the Cog3DVisionDataGraphicBase item to add to the display
- groupName (Optional)
- Type: System String
The name of the logical group to add the item to. The groupName is case insensitive.
Implements
ICog3DDisplayV2 Add(Cog3DVisionDataGraphicBase, String)Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | Throws an exception if the item is null |
| ArgumentException | Throws an exception if the item has already been added to the display. |
See Also