Cog3DShapeGraphicBase DisplayState Property Cognex VisionPro 9.7
Get or set the DisplayState for this graphic object.

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 shape graphic object.
Events

Event TypeReason
ICogChangedEvent Changed

Fires when this property changes.

The following state flags may be affected:

  • SfDisplayState
Exceptions

ExceptionCondition
ArgumentExceptionSurface, SurfaceWithWireFrame, or WireFrame. DisplayState by default cannot be set to either DisplayDefault or Vertices, although derived classes may override this behavior.
See Also