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

## IOperationResult.ToFile method

Tries to convert the result to a file.

```csharp
public string ToFile()
```

### Return Value

A string the file path if the result is file; otherwise `null`.

### See Also

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


