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

# ICellFormat

## Overview

`ICellFormat` is a interface in Aspose.Slides FOSS for Java.

Represents format of a table cell.

This interface provides 7 methods for working with ICellFormat objects in Java programs.
Available methods include: `getBorderBottom`, `getBorderDiagonalDown`, `getBorderDiagonalUp`, `getBorderLeft`, `getBorderRight`, `getBorderTop`, `getFillFormat`.
All public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package.
Properties: `borderBottom`, `borderDiagonalDown`, `borderDiagonalUp`, `borderLeft`, `borderRight`, `borderTop`, and 1 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `fillFormat` | `IFillFormat` | Read | Returns a cell fill properties object. |
| `borderLeft` | `ILineFormat` | Read | Returns a left border line properties object. |
| `borderTop` | `ILineFormat` | Read | Returns a top border line properties object. |
| `borderRight` | `ILineFormat` | Read | Returns a right border line properties object. |
| `borderBottom` | `ILineFormat` | Read | Returns a bottom border line properties object. |
| `borderDiagonalDown` | `ILineFormat` | Read | Returns a top-left to bottom-right diagonal line properties object. |
| `borderDiagonalUp` | `ILineFormat` | Read | Returns a bottom-left to top-right diagonal line properties object. |

## Methods

| Signature | Description |
|-----------|-------------|
| `getFillFormat()` → `IFillFormat` | Returns a cell fill properties object. |
| `getBorderLeft()` → `ILineFormat` | Returns a left border line properties object. |
| `getBorderTop()` → `ILineFormat` | Returns a top border line properties object. |
| `getBorderRight()` → `ILineFormat` | Returns a right border line properties object. |
| `getBorderBottom()` → `ILineFormat` | Returns a bottom border line properties object. |
| `getBorderDiagonalDown()` → `ILineFormat` | Returns a top-left to bottom-right diagonal line properties object. |
| `getBorderDiagonalUp()` → `ILineFormat` | Returns a bottom-left to top-right diagonal line properties object. |

## See Also

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