IColumnCollection

All Implemented Interfaces: com.aspose.slides.IGenericCollection

public interface IColumnCollection extends IGenericCollection<IColumn>

Represents collection of columns in a table.

Methods

MethodDescription
get_Item(int index)Returns the column at the specified index.
addClone(IColumn templ, boolean withAttachedColumns)Creates a copy of the specified template row and inserts it at the bottom of a table.
insertClone(int index, IColumn templ, boolean withAttachedColumns)Creates a copy of the specified template column and insert it at the specified position in a table.
removeAt(int firstColumnIndex, boolean withAttachedRows)Removes a column at the specified position from a table.

get_Item(int index)

public abstract IColumn get_Item(int index)

Returns the column at the specified index. Read-only IColumn.

Parameters:

ParameterTypeDescription
indexint

Returns: IColumn

addClone(IColumn templ, boolean withAttachedColumns)

public abstract IColumn[] addClone(IColumn templ, boolean withAttachedColumns)

Creates a copy of the specified template row and inserts it at the bottom of a table.

Parameters:

ParameterTypeDescription
templIColumnColumn which is used as a template.
withAttachedColumnsbooleanTrue to copy also all columns attached to the template row.

Returns: com.aspose.slides.IColumn[] - Added columns.

insertClone(int index, IColumn templ, boolean withAttachedColumns)

public abstract IColumn[] insertClone(int index, IColumn templ, boolean withAttachedColumns)

Creates a copy of the specified template column and insert it at the specified position in a table.

Parameters:

ParameterTypeDescription
indexintIndex of a new column.
templIColumnColumn which is used as a template.
withAttachedColumnsbooleanTrue to copy also all columns attached to the template column.

Returns: com.aspose.slides.IColumn[] - Inserted columns.

removeAt(int firstColumnIndex, boolean withAttachedRows)

public abstract void removeAt(int firstColumnIndex, boolean withAttachedRows)

Removes a column at the specified position from a table.

Parameters:

ParameterTypeDescription
firstColumnIndexintIndex of a column to delete.
withAttachedRowsbooleanTrue to delete also all attached columns.