ColumnCollection

ColumnCollection

Overview

ColumnCollection is a class in Aspose.Slides FOSS for Python. Inherits from: BaseCollection, IColumnCollection.

Represents collection of columns in a table.

This class declares 7 methods for ColumnCollection objects in Python programs. Available methods include: __contains__, __getitem__, __iter__, __len__, add_clone, insert_clone, remove_at. Public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package. Properties: as_i_collection, as_i_enumerable, length.

Properties

NameTypeAccessDescription
as_i_collectionlistReadGets the as i collection.
as_i_enumerableAnyReadGets the as i enumerable.
lengthintReadReturns the number of elements.

Methods

SignatureDescription
add_clone(templ, with_attached_columns) → list[IColumn]Adds a cloned copy of the template column, optionally with attached columns, and returns a list of IColumn
insert_clone(index, templ, with_attached_columns) → list[IColumn]Inserts a cloned copy of the template column at the given index, optionally with attached columns, returning a list of IColumn
remove_at(first_column_index, with_attached_rows)Removes columns starting at the specified index, optionally also removing attached rows
__getitem__(index: int) → ColumnCalls getitem(index) on this ColumnCollection instance.
__len__() → intCalls len on this ColumnCollection instance.
__iter__()Calls iter on this ColumnCollection instance.
__contains__(item) → boolCalls contains(item) on this ColumnCollection instance.

See Also

 English