IGraphic InterfaceCognex VisionPro 9.22 SR1

Interface to make an object renderable in a CognexDisplay control.

Namespace: Cognex.Vision
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.22.2.0
Syntax

public interface IGraphic : IChangedEvent, 
	IObject, IDiamondGraphicShape

The IGraphic type exposes the following members.

Methods

  NameDescription
Public methodCopyBase

Copy a graphic and its derived parameters.

Public methodResumeAndRaiseChangedEvent

Re-enables raising of the ChangedEvent after SuspendChangedEvent has been called, and raises the ChangedEvent if the ChangedEventSuspended count is reduced to zero and any changes were made while events were suspended. Must be called once for each call to SuspendChangedEvent.

(Inherited from IChangedEvent.)
Public methodSuspendChangedEvent

Temporarily suspends the raising of the ChangedEvent. May be called more than once, and a corresponding call to ResumeAndRaiseChangedEvent must be made for each call to SuspendChangedEvent.

(Inherited from IChangedEvent.)
Top
Properties

  NameDescription
Public propertyChangedEventSuspended

Indicates if raising the ChangedEvent has been suspended.

(Inherited from IChangedEvent.)
Public propertyColor
Get

Color of this graphic. Can be any OLE_COLOR.

Public propertyFillColor
Get

The fill color of this graphic.

Public propertyLineStyle
Get

Line style of this graphic.

Public propertyLineWidthInScreenPixels
Get

Line width (in screen pixels) of this graphic.

Public propertySelectedSpaceName
Get
(Inherited from IDiamondGraphicShape.)
Public propertySelectedSpaceName
Get

Coordinate space in which this shape is to be interpreted.

Public propertyVisible
Get

Visible property of this graphic.

Top
Events

  NameDescription
Public eventChanged

The actual event.

(Inherited from IChangedEvent.)
Top
Remarks

Interface to make an object renderable in a CognexDisplay control.

See Also