## PdfExtractor::GetText(const System::SharedPtr\<System::IO::Stream\>\&) method


Saves text to stream. see also:[ExtractText](../extracttext/)

```cpp
void Aspose::Pdf::Facades::PdfExtractor::GetText(const System::SharedPtr<System::IO::Stream> &outputStream)
```


| Parameter | Type | Description |
| --- | --- | --- |
| outputStream | const System::SharedPtr\<System::IO::Stream\>\& | The stream to save the text. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../../../system.io/stream/)
* Class [PdfExtractor](../)
* Namespace [Aspose::Pdf::Facades](../../)
* Library [Aspose.PDF for C++](../../../)
## PdfExtractor::GetText(const System::SharedPtr\<System::IO::Stream\>\&, bool) method


Saves text to stream. see also:[ExtractText](../extracttext/)

```cpp
void Aspose::Pdf::Facades::PdfExtractor::GetText(const System::SharedPtr<System::IO::Stream> &outputStream, bool filterNotAscii)
```


| Parameter | Type | Description |
| --- | --- | --- |
| outputStream | const System::SharedPtr\<System::IO::Stream\>\& | The stream to save the text. |
| filterNotAscii | bool | If this parameter is true all Not ASCII symbols will be removed |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../../../system.io/stream/)
* Class [PdfExtractor](../)
* Namespace [Aspose::Pdf::Facades](../../)
* Library [Aspose.PDF for C++](../../../)
## PdfExtractor::GetText(const System::String\&) method


Saves text to file. see also:[ExtractText](../extracttext/)

```cpp
void Aspose::Pdf::Facades::PdfExtractor::GetText(const System::String &outputFile)
```


| Parameter | Type | Description |
| --- | --- | --- |
| outputFile | const System::String\& | The file path and name to save the text. |

## See Also

* Class [String](../../../system/string/)
* Class [PdfExtractor](../)
* Namespace [Aspose::Pdf::Facades](../../)
* Library [Aspose.PDF for C++](../../../)
