| Kixforms Class Library |
Add Method (Columns Collection) |
Adds a column header to the collection with specified text, width, and alignment settings.
object.Add(text, width, alignment)
text
An optional string value specifying the text to display in the column header.
width
An optional numeric value specifying the initial width of the column header. Use -2 to autosize the column header to the size of the text in the heading.
alignment
An optional numeric value specifying the horizontal alignment of the text in the column header. Can be one of the following values. The default is Left.
| Setting | Value | Description |
|---|---|---|
| Left | 0 | The object or text is aligned on the left of the control element. |
| Right | 1 | The object or text is aligned on the right of the control element. |
| Center | 2 | The object or text is aligned in the center of the control element. |
The Column that was created and added to the collection.
Applies To: Columns
| The CHM file was converted to HTML by chm2web software. |