## StreamResult::ToStream method


Tries to convert the result to a stream object.

```cpp
System::SharedPtr<System::IO::Stream> Aspose::Page::Plugins::StreamResult::ToStream() override
```


### ReturnValue

A stream object representing the output data if the result is stream; otherwise **null**.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../../../system.io/stream/)
* Class [StreamResult](../)
* Namespace [Aspose::Page::Plugins](../../)
* Library [Aspose.Page for C++](../../../)
