**Inheritance:**
java.lang.Object, com.aspose.pdf.FontAbsorber

```
public class FontAbsorber extends Object
```

Represents an absorber object of fonts. Performs search for fonts and provides access to search results via {@code FontAbsorber.Fonts} collection.

## Constructors

| Constructor | Description |
| --- | --- |
| [FontAbsorber](#FontAbsorber--) | Initializes a new instance of the {@code FontAbsorber} that performs search for fonts of the document. |

## Methods

| Method | Description |
| --- | --- |
| [getFonts](#getFonts--) | Gets collection of search occurrences that are presented with {@code Font} objects. |
| [visit](#visit-com.aspose.pdf.Document-) | Performs search on the specified document. |
| [visit](#visit-com.aspose.pdf.Document-int-int-) | Performs search in the specified range of pages of the document. |

### FontAbsorber {#FontAbsorber--}
```
public FontAbsorber()
```

Initializes a new instance of the {@code FontAbsorber} that performs search for fonts of the document.

### getFonts {#getFonts--}
```
public FontCollection getFonts()
```

Gets collection of search occurrences that are presented with {@code Font} objects.

**Returns:**
FontCollection object

### visit {#visit-com.aspose.pdf.Document-}
Performs search on the specified document.

### visit {#visit-com.aspose.pdf.Document-int-int-}
Performs search in the specified range of pages of the document.
