---
title: ".ExtractText (.PdfDocument Objektmethode)"
---
[TOC]

#### Beschreibung

Extracts the plain text content of one page or of the entire document.

#### Argumente

<table style="table-layout: fixed; width: min(100%, 602px);"><colgroup><col style="width: 18.1%"><col style="width: 14.8%"><col style="width: 67.1%"></colgroup><tr><th><p><strong>Name</strong></p></th><th><p><strong>Typ</strong></p></th><th><p><strong>Beschreibung</strong></p></th></tr><tr><td><p>PageIndex</p></td><td><p><a href="/smt-school-professional/technische-dokumentation/opus-dokumentation/standard-datentypen/integer/"><u>integer</u></a></p></td><td><p>(optional)</p><p>zero-based page to extract (omit for the whole document; pages are separated by a form feed)</p></td></tr></table>

#### Rückgabewert [<u>string</u>](../../../standard-datentypen/string.md)

the extracted plain text

#### Beispiel

| `xxx` |
| --- |
