ICogGraphicMultiPen MethodsCognex VisionPro

The ICogGraphicMultiPen type exposes the following members.

Methods

  NameDescription
Public methodAddInteractivePen
Creates an interactive pen based on the specified simple pens and returns the key. The specified simple pen keys must already exist, and zero is a valid key meaning 'use the pen properties of the graphic for the given state'.
Public methodAddSimplePen
Creates a simple pen with the specified attributes and returns the key.
Public methodGetInteractivePenAttributes
Returns the attributes of the interactive pen with the given Key.
Public methodGetPenKey
Returns the key for the pen at the given Index. Index must be in the range from 0 to PenCount-1 (inclusive).
Public methodGetPenType
Returns the type (simple or interactive) of the pen with the given Key.
Public methodGetSimplePenAttributes
Returns the attributes of the simple pen with the given Key.
Public methodRemovePen
Removes the custom pen with the specified Key. The Key must be an existing simple or interactive pen key that is not in use.
Public methodSetInteractivePenAttributes
Sets the attributes of the interactive pen with the given Key.
Public methodSetSimplePenAttributes
Sets the attributes of the simple pen with the given Key.
Top
See Also