---
Product: Aspose.Font
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/font/python/cpaltable
---

# CpalTable

## Overview

`CpalTable` is a class in Aspose.Font FOSS for Python.

This class declares 1 method for CpalTable objects in Python programs.
Available methods include: `from_reader`.
Public members are accessible to any Python application after installing the Aspose.Font FOSS for Python package.
Properties: `color_labels`, `color_record_indices`, `num_color_records`, `num_palettes`, `palette_labels`, `palettes`, and 1 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `version` | `int` | Read/Write | Gets or sets the version. |
| `num_palettes` | `int` | Read/Write | Gets or sets the num palettes. |
| `num_color_records` | `int` | Read/Write | Gets or sets the num color records. |
| `color_record_indices` | `list[int]` | Read/Write | Gets or sets the color record indices. |
| `palettes` | `list[ColorPalette]` | Read/Write | Gets or sets the palettes. |
| `palette_labels` | `list[int]` | Read/Write | Gets or sets the palette labels. |
| `color_labels` | `list[int]` | Read/Write | Gets or sets the color labels. |

## Methods

| Signature | Description |
|-----------|-------------|
| `from_reader(r: BinaryReader, table_length: int, num_palette_colors: int \| None)` → `"CpalTable"` | Calls from_reader(r, table_length, num_palette_colors) on this CpalTable instance. |

## See Also

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