Returns/sets the custom pen used to draw the adornment at the start point of the segment.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 65.1.0.0
Syntax
Property Value
Type: Int32Events
| Event Type | Reason |
|---|---|
| CogGeneralContourSegmentChanged | Fires when the adornment pen changes. The following state flags may be affected: |
Exceptions
| Exception | Condition |
|---|---|
| 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