Creates a new column and inserts it into the collection at the specified index.


Insert( Index, Text, Width, Alignment )


Index - the zero-based index location where the column is inserted.

Text - an optional string value specifying the text to display in the column header. The default is a null string ("").

Width - an optional numeric value specifying the initial width of the column. The default is 100 pixels wide. Use -2 to autosize the column to the size of the text of the column header.

Alignment - an optional numeric value specifying the horizontal alignment of text in the column. Can be one of the Alignment values. The default is Left.

Return Value

A Column representing the newly created column.

See Also

Applies To: Columns

The CHM file was converted to HTML by chm2web software.