## StringResult.ToFile method

Tries to convert the result to a file.

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

### Return Value

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

### See Also

* class [StringResult](../)
* namespace [Aspose.Page.Plugins](../../stringresult/)
* assembly [Aspose.Page](../../../)


