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

Namespace: Cognex.VisionPro3D
Assembly: Cognex.VisionPro3D.Graphic (in Cognex.VisionPro3D.Graphic.dll) Version: 87.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