CogLineSegment LineWidthInScreenPixels Property Cognex VisionPro 9.22
Line width (in screen pixels) of this graphic.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 87.0.0.0
Syntax

public virtual int LineWidthInScreenPixels { get; set; }

Property Value

Type: Int32

Implements

ICogGraphic LineWidthInScreenPixels
Events

Event TypeReason
ICogChangedEvent Changed

Fires when the line width changes.

The following state flag may be affected:

    Exceptions

    ExceptionCondition
    ArgumentException

    Value is < 1.

    Remarks

    Sets or gets the width of the line used to draw the CogGraphic in pixels.

    Default Value: 1

    See Also