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
| Name | Type | Access | Description |
|---|---|---|---|
width | float | Read/Write | Returns or sets the width of a column. |
as_i_cell_collection | ICellCollection | Read | Gets the as i cell collection. |
as_i_bulk_text_formattable | IBulkTextFormattable | Read | Gets the as i bulk text formattable. |
slide | IBaseSlide | Read | Returns the parent slide of a CellCollection. |
presentation | IPresentation | Read | Returns the parent presentation of a CellCollection. |
as_i_slide_component | ISlideComponent | Read | Gets the as i slide component. |
as_i_presentation_component | IPresentationComponent | Read | Gets the as i presentation component. |
as_i_collection | list | Read | Gets the as i collection. |
as_i_enumerable | Any | Read | Gets the as i enumerable. |
length | int | Read | Returns the number of elements. |
Methods
| Signature | Description |
|---|---|
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) → Cell | Calls getitem(index) on this Column instance. |
__len__() → int | Calls len on this Column instance. |
__iter__() | Calls iter on this Column instance. |
__contains__(item) → bool | Calls contains(item) on this Column instance. |
set_text_format(source) | Sets the text format value. |