CogRectangle PropertiesCognex VisionPro 9.23

The CogRectangle type exposes the following members.

Properties

  NameDescription
Public propertyArea
Area of this CogRectangle.
Public propertyCenterX
Center X coordinate of this rectangle.
Public propertyCenterY
Center Y coordinate of this rectangle.
Public propertyChangedEventSuspended
If nonzero, indicates that the raising of the Changed event has been suspended. This value is incremented when SuspendChangedEvent is called and decremented when ResumeAndRaiseChangedEvent is called.
Public propertyChildren
Children of this graphic.
Public propertyColor
Color of this graphic. Can be any OLE_COLOR.
Public propertyDragColor
Color of this graphic when dragged.
Public propertyDragLineStyle
Line style of this graphic when dragged.
Public propertyDragLineWidthInScreenPixels
Line width of this graphic when dragged.
Public propertyGraphicDOFEnable
Interactive Degree of freedom for this graphic object. Provides the ability to govern interactive manipulation of an object; for example could be used to prevent an object from being resized.
Public propertyGraphicDOFEnableBase
Interactive Degree of freedom for a graphic object. Allows access to each graphic's GraphicDOFEnable property without knowing the specific graphic type.
Public propertyHasChanged
If true, the serializable state of this object has changed since the last time it was serialized.
Public propertyHeight
Height of this rectangle.
Public propertyInteractive
Interactive property allow this graphic object to be selected. See GraphicDOFEnable for information on governing interactive manipulation of an object.
Public propertyLineStyle
Line style of this graphic.
Public propertyLineWidthInScreenPixels
Line width (in screen pixels) of this graphic.
Public propertyMouseCursor
Mouse cursor to be displayed when the mouse is over the graphic. The cursor will be visible only if the graphic is interactive.
Public propertyParent
Parent of this graphic.
Public propertyPerimeter
Perimeter length of this CogRectangle.
Public propertySelected
True when the shape is selected in a display.
Public propertySelectedColor
Color of this graphic when selected.
Public propertySelectedLineStyle
Line style of this graphic when selected.
Public propertySelectedLineWidthInScreenPixels
Line width of this graphic when selected.
Public propertySelectedSpaceName
Coordinate space in which this shape is to be interpreted.
Public propertyTipText
Text to describe this graphic in a tool tip.
Public propertyVisible
Visible property of this graphic.
Public propertyWidth
Width of this rectangle.
Public propertyX
Minimum X coordinate of this rectangle.
Public propertyY
Minimum Y coordinate of this rectangle.
Top
See Also