# StyleTransition Class

> Represents a style change in a word.

- Product: Adobe PDF Library 21
- Language: .NET Framework
- Version: APDFL21.0.0PlusP1e
- HTML page: https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/class/StyleTransition
- Version index: https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/llms.txt

```csharp
class StyleTransition : SystemIDisposable
```

**Namespace:** `Datalogics::PDFL`

**Inherits from:** `SystemIDisposable`

## Description

Represents a style change in a word.

A StyleTransition provides information about the character index in the word where the style changes, and the new Style.

**Referenced by:** [`Word`](https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/class/Word.md)

**Uses types:** [`Style`](https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/class/Style.md)

## Properties

### CharIndex

```csharp
int Datalogics.PDFL.StyleTransition.CharIndex { get; }
```

The index of the character in the word at which this transition begins.

### Style

```csharp
Style Datalogics.PDFL.StyleTransition.Style { get; }
```

The Style that begins at this transition.

## Methods

### Dispose

```csharp
void Datalogics.PDFL.StyleTransition.Dispose()
```

**Returns:** `void`

### ToString

```csharp
override string Datalogics.PDFL.StyleTransition.ToString()
```

**Returns:** `override string`

Returns a string representation of the StyleTransition.
