Cog3DGraphicBase Opacity Property Cognex VisionPro 9.8
Gets/sets the Opacity for this graphic object. The value range is 0.0 - 1.0, where 0.0 means full transparent and value 1.0 means full opaque. The default value is 1.0.

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

public virtual double Opacity { get; set; }

Property Value

Type: Double
The Opacity of this graphic object. Must be between 0 and 1.
Events

Event TypeReason
ICogChangedEvent Changed

Fires when this property changes.

The following state flags may be affected:

  • SfOpacity
Exceptions

ExceptionCondition
ArgumentException The Opacity for graphic objects must be between 0 and 1.
See Also