Cog3DGraphicBase LineWidth Property Cognex VisionPro
Gets/sets the LineWidth for this graphic object in screen units. Applies only if rendered as WireFrame or SurfaceWithWireFrame. The default value is 1.

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

public virtual int LineWidth { get; set; }

Property Value

Type: Int32
The LineWidth of this graphic object in screen units.
Events

Event TypeReason
ICogChangedEvent Changed

Fires when this property changes.

The following state flags may be affected:

  • SfLineWidth
Exceptions

ExceptionCondition
ArgumentException The LineWidth for graphic objects must be greater or equal 1.
See Also