## IPubConverter class


Declares functionality to convert PUB document into format specified.

```cpp
class IPubConverter : public virtual System::Object
```

## Methods

| Method | Description |
| --- | --- |
| virtual [ConvertToFormat](./converttoformat/)(System::SharedPtr\<Document\>, System::String, PubExportFormats) | Converts PUB document into format specified and saves result to file located at the *fileName* . |
| virtual [ConvertToFormat](./converttoformat/)(System::SharedPtr\<Document\>, System::SharedPtr\<System::IO::Stream\>, PubExportFormats) | Converts PUB document into format specified and saves result into stream passed. |
## See Also

* Class [Object](../../system/object/)
* Namespace [Aspose::Pub](../)
* Library [Aspose.PUB for C++](../../)
