## IOutputWorkingDirectory::GetOutputFile method


Returns the stream to write to. MUST NOT return a null object. In case a stream cannot be returned, it MUST return a [NamedStream](../../namedstream/) object with a null Stream property value instead.

```cpp
virtual System::SharedPtr<Aspose::TeX::IO::NamedStream> Aspose::TeX::IO::IOutputWorkingDirectory::GetOutputFile(const System::String &fileName)=0
```


| Parameter | Type | Description |
| --- | --- | --- |
| fileName | const System::String\& | The file name. |

### ReturnValue

The named stream.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [NamedStream](../../namedstream/)
* Class [String](../../../system/string/)
* Class [IOutputWorkingDirectory](../)
* Namespace [Aspose::TeX::IO](../../)
* Library [Aspose.TeX for C++](../../../)
