ICogGeneralContourLineSegmentIterator StartAdornmentCustomPen Property Cognex VisionPro 9.5
Returns/sets the custom pen used to draw the adornment at the start point of the segment.

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

int StartAdornmentCustomPen { get; set; }

Property Value

Type: Int32
Events

Event TypeReason
CogGeneralContourSegmentChanged

Fires when the adornment pen changes.

The following state flags may be affected:

    Exceptions

    ExceptionCondition
    ArgumentException

    The value is not an existing pen key that refers to a pen in the contour's OwnedCustomPens.

    Remarks

    Sets or gets the ICogGraphicMultiPen used to draw the adornment at the start point of the segment.

    Note: Adornments use only the color attribute of the pen. The line width is always 1, and the line style is always solid.

    Default Value: 0 (Use the properties of the contour.)

    See Also