# Style Class

> Provides access to data about fonts, font sizes, and colors used 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/Style
- Version index: https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/llms.txt

```csharp
class Style : SystemIDisposable
```

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

**Inherits from:** `SystemIDisposable`

## Description

Provides access to data about fonts, font sizes, and colors used in a word.

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

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

## Properties

### Color

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

Gets the style's color.

### FontName

```csharp
string Datalogics.PDFL.Style.FontName { get; }
```

Gets the name of the style's font.

### FontSize

```csharp
double Datalogics.PDFL.Style.FontSize { get; }
```

Gets the style's font size.

## Methods

### Dispose

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

**Returns:** `void`

### ToString

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

**Returns:** `override string`

A string in the format "[color=..., fontsize=..., fontname=...]".

Returns a string representing the Style's value.

The returned value indicates the color, font, and font size of the style.
