SetGroupTextFormat Method
Description
Sets the text format for text displayed in task panel groups.
Syntax
Public Sub SetGroupTextFormat( _
ByVal Format As XTPItemAlignment _
)
Parameters
- Format: Specifies the format to apply to the group text. The following values are available:
| Value | Description |
|---|---|
| DT_TOP | Aligns text to the top of the display rectangle. |
| DT_LEFT | Aligns text to the left. |
| DT_CENTER | Centers text horizontally. |
| DT_RIGHT | Aligns text to the right. |
| DT_VCENTER | Centers text vertically. This value is used only with certain display configurations. |
| DT_BOTTOM | Renders the text string at the bottom of the display rectangle. This value is used only with certain display configurations. |
| DT_WORDBREAK | Breaks lines between words if a word would extend past the edge of the display rectangle ("wraps" the text). A carriage return/line feed (CR/LF) sequence also breaks the line. |
| DT_SINGLELINE | Specifies that lines of text will not "word wrap" to the next line; they will stay on a single line truncating any text that cannot fit. |
| DT_END_ELLIPSIS | Truncates the text string that is wider than the popup control item and adds an ellipsis to indicate the truncation. |
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.