# Style Class

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

- Product: Adobe PDF Library 18
- Language: .NET
- Version: APDFL18.0.5PlusP2e
- HTML page: https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/class/Style
- Version index: https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/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:** [`Style`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/class/Style.md), [`StyleTransition`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/class/StyleTransition.md)

**Uses types:** [`Color`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/class/Color.md), [`Style`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/class/Style.md)

## Properties

### Color

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

### FontName

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

### FontSize

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

## 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.
