The CogGraphicLabel type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| Alignment | Controls how the text is aligned with respect to the X,Y position. | |
| BackgroundColor | Controls the background color for text. Use cogColorNone for transparent. | |
| ChangedEventSuspended | 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. | |
| Children | Children of this graphic. | |
| Color | Color of this graphic. Can be any OLE_COLOR. | |
| DragBackgroundColor | Controls the background color for text when the label is being dragged. Use cogColorNone for transparent. | |
| DragColor | Color of this graphic when dragged. | |
| DragLineStyle | Line style of this graphic when dragged. | |
| DragLineWidthInScreenPixels | Line width of this graphic when dragged. | |
| Font | ||
| GraphicDOFEnable | 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. | |
| GraphicDOFEnableBase | Interactive Degree of freedom for a graphic object. Allows access to each graphic's GraphicDOFEnable property without knowing the specific graphic type. | |
| HasChanged | If true, the serializable state of this object has changed since the last time it was serialized. | |
| Interactive | Interactive property allow this graphic object to be selected. See GraphicDOFEnable for information on governing interactive manipulation of an object. | |
| LineStyle | Line style of this graphic. | |
| LineWidthInScreenPixels | Line width (in screen pixels) of this graphic. | |
| MouseCursor | Mouse cursor to be displayed when the mouse is over the graphic. The cursor will be visible only if the graphic is interactive. | |
| Offset | The distance from X,Y, as measured in OffsetSpaceName coordinates,to use to adjust the label position. | |
| OffsetAngle | The angle (in radians) as measured in OffsetAngleSpaceName coordinates to use to adjust the label position. | |
| OffsetAngleSpaceName | Coordinate space in which this shape's OffsetAngle property is to be interpreted. | |
| OffsetSpaceName | Coordinate space in which this shape's Offset property is to be interpreted. | |
| Parent | Parent of this graphic. | |
| Rotation | The angle (in radians, from the x-axis) of the text label. | |
| Selected | True when the shape is selected in a display. | |
| SelectedBackgroundColor | Controls the background color for text when the label is selected. Use cogColorNone for transparent. | |
| SelectedColor | Color of this graphic when selected. | |
| SelectedLineStyle | Line style of this graphic when selected. | |
| SelectedLineWidthInScreenPixels | Line width of this graphic when selected. | |
| SelectedSpaceName | Coordinate space in which this shape is to be interpreted. | |
| Text | Text for this label. | |
| TipText | Text to describe this graphic in a tool tip. | |
| Visible | Visible property of this graphic. | |
| X | X coordinate of the text. | |
| Y | Y coordinate of the text. |
See Also