CogStaticGraphicsContainer ClassCognex VisionPro 9.22
A container for the display's static graphics.
Inheritance Hierarchy

System Object
  Cognex.VisionPro.Display CogStaticGraphicsContainer

Namespace: Cognex.VisionPro.Display
Assembly: Cognex.VisionPro.Display.Controls (in Cognex.VisionPro.Display.Controls.dll) Version: 87.0.0.0 (87.0.0.0)
Syntax

public class CogStaticGraphicsContainer : ICustomAdapter, 
	IDisposable

The CogStaticGraphicsContainer type exposes the following members.

Methods

  NameDescription
Public methodAdd
Adds a static graphic to the display.
Public methodAddList
Adds a list of static graphics to the display.
Public methodClear
Removes all static graphics from the display.
Public methodDispose
Dispose the control.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMoveBackward
Moves the specified group one step closer to the back of the z-order.
Public methodMoveForward
Moves the specified group one group closer to the front of the z-order.
Public methodMoveToBack
Moves the specified group to the back of the z-order.
Public methodMoveToFront
Moves the specified group to the front of the z-order.
Public methodRemove
Removes all of the graphics in the specified group from the display.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Properties

  NameDescription
Public propertyZOrderGroups
Returns the z-order of the groups in this display.
Top
Remarks

Any graphic object that implements ICogGraphic that you Add(ICogGraphic, String) to this container is displayed.

Graphics added to this collection are static. You cannot change their location, color, or other attributes once they are added to the display. Use CogInteractiveGraphicsContainer for movable, dynamic, or interactive graphics.

See Displaying an Image, Annotating an Image, and Drawing Graphics to learn more about drawing images and graphics in a display control.

See Also