Cog3DBoxGraphic DisplayState Property Cognex VisionPro 9.7
Get or set the DisplayState for this Cog3DBoxGraphic. The default value is Cog3DDisplayStateConstants::SurfaceWithWireFrame. Available values are Surface, SurfaceWithWireFrame, and WireFrame.

Namespace: Cognex.VisionPro3D
Assembly: Cognex.VisionPro3D.Graphic (in Cognex.VisionPro3D.Graphic.dll) Version: 73.0.0.0
Syntax

public override Cog3DGraphicDisplayStateConstants DisplayState { set; }

Property Value

Type: Cog3DGraphicDisplayStateConstants
The DisplayState of this graphic object.
Events

Event TypeReason
ICogChangedEvent Changed

Fires when this property changes.

The following state flags may be affected:

  • SfDisplayState
Exceptions

ExceptionCondition
ArgumentException If trying to set to anything other than Surface, SurfaceWithWireFrame, or WireFrame.
See Also