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

# IHeadingPair

## Overview

`IHeadingPair` is an interface in Aspose.Slides FOSS for Java.

Represents a heading pair that indicates a grouping of document parts and the number of parts in each group.

This interface declares 2 methods for IHeadingPair objects in Java programs.
Available methods include: `getCount`, `getName`.
Public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package.
Properties: `count`, `name`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `name` | `String` | Read | Returns the name of the heading pair. |
| `count` | `int` | Read | Returns the count of parts in this group. |

## Methods

| Signature | Description |
|-----------|-------------|
| `getName()` → `String` | Returns the name of the heading pair. |
| `getCount()` → `int` | Returns the count of parts in this group. |

## See Also

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