---
title: "IOperationResult.ToStream"
url: "https://reference.aspose.com/tex/net/aspose.tex.plugins/ioperationresult/tostream/"
product: "Aspose.TeX for .NET API Reference"
description: "IOperationResult method. Tries to convert the result to a stream"
---

## IOperationResult.ToStream method

Tries to convert the result to a stream.

```csharp
public Stream ToStream()
```

### Return Value

A stream if the result is stream; otherwise `null`.

### See Also

* interface [IOperationResult](../)
* namespace [Aspose.TeX.Plugins](../../ioperationresult/)
* assembly [Aspose.TeX](../../../)


