---
Product: Aspose.Slides
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/slides/python/CellFormat
---

# CellFormat

## Overview

`CellFormat` is a class in Aspose.Slides FOSS for Python.
Inherits from: `PVIObject`, `ISlideComponent`, `IPresentationComponent`.

Represents format of a table cell.

Properties: `as_i_presentation_component`, `border_bottom`, `border_diagonal_down`, `border_diagonal_up`, `border_left`, `border_right`, and 4 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `fill_format` | `IFillFormat` | Read | Returns a cell fill properties object. |
| `border_left` | `ILineFormat` | Read | Returns a left border line properties object. |
| `border_top` | `ILineFormat` | Read | Returns a top border line properties object. |
| `border_right` | `ILineFormat` | Read | Returns a right border line properties object. |
| `border_bottom` | `ILineFormat` | Read | Returns a bottom border line properties object. |
| `border_diagonal_down` | `ILineFormat` | Read | Returns a top-left to bottom-right diagonal line properties object. |
| `border_diagonal_up` | `ILineFormat` | Read | Returns a bottom-left to top-right diagonal line properties object. |
| `as_i_presentation_component` | `IPresentationComponent` | Read | Allows to get base IPresentationComponent interface. |
| `slide` | `IBaseSlide` | Read | Gets the slide. |
| `presentation` | `IPresentation` | Read | Gets the presentation. |

## See Also

- [Aspose.Slides — Enterprise API Reference](https://reference.aspose.com/slides/)