# Word Class

> A word in a PDF file.

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

```csharp
class Word : SystemIDisposable
```

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

**Inherits from:** `SystemIDisposable`

## Description

A word in a PDF file.

Each word contains a sequence of characters in one or more styles (see Style).

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

**Uses types:** [`Quad`](https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/class/Quad.md), [`StyleTransition`](https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/class/StyleTransition.md), [`WordAttributeFlags`](https://docs.datalogics.com/apdfl21/DotNetFramework/APDFL21.0.0PlusP1e/enum/WordAttributeFlags.md)

## Properties

### Attributes

```csharp
WordAttributeFlags Datalogics.PDFL.Word.Attributes { get; }
```

Gets a set of summary flags containing information on the types of characters in a word.

### CharQuads

```csharp
System.Collections.Generic.IList<Quad> Datalogics.PDFL.Word.CharQuads { get; }
```

Gets a list of Quads occupied by the individual characters in a word.

### IsLastWordInRegion

```csharp
bool Datalogics.PDFL.Word.IsLastWordInRegion { get; }
```

Specifies whether this word is the last word in a region as determined by the WordFinder.

This can be useful for determining visual line breaks in tagged PDFs. In tagged PDF documents, WordAttributeFlags.LastWordOnLine is set according to the tags in the document, so that flag cannot be used to determine visual line breaks.

### Quads

```csharp
System.Collections.Generic.IList<Quad> Datalogics.PDFL.Word.Quads { get; }
```

Gets the specified word's quads, specified in user space coordinates.

The quad's height is the height of the font's bounding box, not the height of the tallest character used in the word. The font's bounding box is determined by the glyphs in the font that extend farthest above and below the baseline; it often extends somewhat above the top of 'A' and below the bottom of 'y'.

The quad's width is determined from the characters actually present in the word.

For example, the quads for the words "AWAY" and "away" have the same height, but generally do not have the same width unless the font is a mono-spaced font (a font in which all characters have the same width).

Despite the names of the fields in an Quad (TopLeft for top left, BottomLeft for bottom left, and so forth) the corners of Quad do not necessarily have these positions.

### StyleTransitions

```csharp
System.Collections.Generic.IList<StyleTransition> Datalogics.PDFL.Word.StyleTransitions { get; }
```

Gets a list of style transitions for the word.

Every word has at least one style transition, at character position zero in the word.

### Text

```csharp
string Datalogics.PDFL.Word.Text { get; }
```

Gets a word's text, converting ligatures to their constituent characters.

The string to return includes any word break characters (such as space characters) that follow the word, but not any that precede the word.

## Methods

### Dispose

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

**Returns:** `void`
