CogGraphicLabel PropertiesCognex VisionPro 9.5

The CogGraphicLabel type exposes the following members.

Properties

  NameDescription
Public propertyAlignment
Controls how the text is aligned with respect to the X,Y position.
Public propertyBackgroundColor
Controls the background color for text. Use cogColorNone for transparent.
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 propertyDragBackgroundColor
Controls the background color for text when the label is being dragged. Use cogColorNone for transparent.
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 propertyFont
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 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 propertyOffset
The distance from X,Y, as measured in OffsetSpaceName coordinates,to use to adjust the label position.
Public propertyOffsetAngle
The angle (in radians) as measured in OffsetAngleSpaceName coordinates to use to adjust the label position.
Public propertyOffsetAngleSpaceName
Coordinate space in which this shape's OffsetAngle property is to be interpreted.
Public propertyOffsetSpaceName
Coordinate space in which this shape's Offset property is to be interpreted.
Public propertyParent
Parent of this graphic.
Public propertyRotation
The angle (in radians, from the x-axis) of the text label.
Public propertySelected
True when the shape is selected in a display.
Public propertySelectedBackgroundColor
Controls the background color for text when the label is selected. Use cogColorNone for transparent.
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 propertyText
Text for this label.
Public propertyTipText
Text to describe this graphic in a tool tip.
Public propertyVisible
Visible property of this graphic.
Public propertyX
X coordinate of the text.
Public propertyY
Y coordinate of the text.
Top
See Also