IRowCollection

All Implemented Interfaces: com.aspose.slides.IGenericCollection

public interface IRowCollection extends IGenericCollection<IRow>

Represents table row collection.

Methods

MethodDescription
get_Item(int index)Gets the element at the specified index.
addClone(IRow templ, boolean withAttachedRows)Creates a copy of the specified template row and inserts it at the bottom of a table.
insertClone(int index, IRow templ, boolean withAttachedRows)Creates a copy of the specified template row and insert it at the specified position in a table.
removeAt(int firstRowIndex, boolean withAttachedRows)Removes a row at the specified position from a table.

get_Item(int index)

public abstract IRow get_Item(int index)

Gets the element at the specified index.

Parameters:

ParameterTypeDescription
indexint

Returns: IRow

addClone(IRow templ, boolean withAttachedRows)

public abstract IRow[] addClone(IRow templ, boolean withAttachedRows)

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

Parameters:

ParameterTypeDescription
templIRowRow which is used as a template.
withAttachedRowsbooleanTrue to copy also all rows attached to the template row.

Returns: com.aspose.slides.IRow[] - Added rows.

insertClone(int index, IRow templ, boolean withAttachedRows)

public abstract IRow[] insertClone(int index, IRow templ, boolean withAttachedRows)

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

Parameters:

ParameterTypeDescription
indexintIndex of a new row.
templIRowRow which is used as a template.
withAttachedRowsbooleanTrue to copy also all rows attached to the template row.

Returns: com.aspose.slides.IRow[] - Inserted rows.

removeAt(int firstRowIndex, boolean withAttachedRows)

public abstract void removeAt(int firstRowIndex, boolean withAttachedRows)

Removes a row at the specified position from a table.

Parameters:

ParameterTypeDescription
firstRowIndexintIndex of a row to delete.
withAttachedRowsbooleanTrue to delete also all attached rows.