Aspose::Pub::IPubConverter::ConvertToFormat method

IPubConverter::ConvertToFormat(System::SharedPtr<Document>, System::String, PubExportFormats) method

Converts PUB document into format specified and saves result to file located at the fileName .

virtual void Aspose::Pub::IPubConverter::ConvertToFormat(System::SharedPtr<Document> doc, System::String fileName, PubExportFormats outFormat)=0
ParameterTypeDescription
docSystem::SharedPtr<Document>PUB document
fileNameSystem::StringLocation of the file
outFormatPubExportFormatsFormat options

See Also

IPubConverter::ConvertToFormat(System::SharedPtr<Document>, System::SharedPtr<System::IO::Stream>, PubExportFormats) method

Converts PUB document into format specified and saves result into stream passed.

virtual void Aspose::Pub::IPubConverter::ConvertToFormat(System::SharedPtr<Document> doc, System::SharedPtr<System::IO::Stream> outputStream, PubExportFormats outFormat)=0
ParameterTypeDescription
docSystem::SharedPtr<Document>PUB document
outputStreamSystem::SharedPtr<System::IO::Stream>Output stream
outFormatPubExportFormatsFormat options

See Also