Column

Overview

Column is a class in Aspose.Slides FOSS for Python. Inherits from: CellCollection, IColumn.

Represents a column in a table.

This class declares 6 methods for Column objects in Python programs. Available methods include: __contains__, __getitem__, __iter__, __len__, set_text_format. Public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package. Properties: as_i_bulk_text_formattable, as_i_cell_collection, as_i_collection, as_i_enumerable, as_i_presentation_component, as_i_slide_component, and 4 more.

Properties

NameTypeAccessDescription
widthfloatRead/WriteReturns or sets the width of a column.
as_i_cell_collectionICellCollectionReadGets the as i cell collection.
as_i_bulk_text_formattableIBulkTextFormattableReadGets the as i bulk text formattable.
slideIBaseSlideReadReturns the parent slide of a CellCollection.
presentationIPresentationReadReturns the parent presentation of a CellCollection.
as_i_slide_componentISlideComponentReadGets the as i slide component.
as_i_presentation_componentIPresentationComponentReadGets the as i presentation component.
as_i_collectionlistReadGets the as i collection.
as_i_enumerableAnyReadGets the as i enumerable.
lengthintReadReturns the number of elements.

Methods

SignatureDescription
set_text_format()` allows you to apply a text format to all cells in a table column, optionally copying from an existing format
__getitem__(index: int) → CellCalls getitem(index) on this Column instance.
__len__() → intCalls len on this Column instance.
__iter__()Calls iter on this Column instance.
__contains__(item) → boolCalls contains(item) on this Column instance.
set_text_format(source)Sets the text format value.

See Also

 English