## TextFragmentAbsorber::RemoveAllText(const System::SharedPtr\<Document\>\&) method


Removes all text from the document.

```cpp
void Aspose::Pdf::Text::TextFragmentAbsorber::RemoveAllText(const System::SharedPtr<Document> &document)
```


| Parameter | Type | Description |
| --- | --- | --- |
| document | const System::SharedPtr\<Document\>\& | PDF document object. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Document](../../../aspose.pdf/document/)
* Class [TextFragmentAbsorber](../)
* Namespace [Aspose::Pdf::Text](../../)
* Library [Aspose.PDF for C++](../../../)
## TextFragmentAbsorber::RemoveAllText(const System::SharedPtr\<Page\>\&) method


Removes all text from the specified page.

```cpp
void Aspose::Pdf::Text::TextFragmentAbsorber::RemoveAllText(const System::SharedPtr<Page> &page)
```


| Parameter | Type | Description |
| --- | --- | --- |
| page | const System::SharedPtr\<Page\>\& | PDF document page object. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Page](../../../aspose.pdf/page/)
* Class [TextFragmentAbsorber](../)
* Namespace [Aspose::Pdf::Text](../../)
* Library [Aspose.PDF for C++](../../../)
## TextFragmentAbsorber::RemoveAllText(const System::SharedPtr\<Page\>\&, const System::SharedPtr\<Rectangle\>\&) method


Removes text inside the specified rectangle from the specified page.

```cpp
void Aspose::Pdf::Text::TextFragmentAbsorber::RemoveAllText(const System::SharedPtr<Page> &page, const System::SharedPtr<Rectangle> &rect)
```


| Parameter | Type | Description |
| --- | --- | --- |
| page | const System::SharedPtr\<Page\>\& | PDF document page object. |
| rect | const System::SharedPtr\<Rectangle\>\& | [Rectangle](../../../aspose.pdf/rectangle/) to remove text inside. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Page](../../../aspose.pdf/page/)
* Class [Rectangle](../../../aspose.pdf/rectangle/)
* Class [TextFragmentAbsorber](../)
* Namespace [Aspose::Pdf::Text](../../)
* Library [Aspose.PDF for C++](../../../)
