ICogGraphicMultiPen GetInteractivePenAttributes Method Cognex VisionPro
Returns the attributes of the interactive pen with the given Key.

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

void GetInteractivePenAttributes(
	int interactivePenKey,
	out int simplePenKeyWhenNormal,
	out int simplePenKeyWhenSelected,
	out int simplePenKeyWhenDragged
)

Parameters

interactivePenKey
Type: System Int32

The pen key.

simplePenKeyWhenNormal
Type: System Int32 

The pen to use to draw the graphic in its normal state.

simplePenKeyWhenSelected
Type: System Int32 

The pen to use when the graphic is selected.

simplePenKeyWhenDragged
Type: System Int32 

The pen to use when the graphic is dragged.

Exceptions

ExceptionCondition
ArgumentException

interactivePenKey is not a known interactive pen key.

Remarks

Returns the attributes of the interactive pen with the given interactivePenKey.

See Also