Aspose::Pub::IPdfConverter::ConvertToPdf method

IPdfConverter::ConvertToPdf(System::SharedPtr<Document>, System::String) method

Converts PUB document into PDF format and saves result as PDF file.

virtual void Aspose::Pub::IPdfConverter::ConvertToPdf(System::SharedPtr<Document> doc, System::String fileName)=0
ParameterTypeDescription
docSystem::SharedPtr<Document>PUB document
fileNameSystem::Stringname of PDF file

See Also

IPdfConverter::ConvertToPdf(System::SharedPtr<Document>, System::SharedPtr<System::IO::Stream>) method

Converts PUB document into PDF format and saves result in stream passed.

virtual void Aspose::Pub::IPdfConverter::ConvertToPdf(System::SharedPtr<Document> doc, System::SharedPtr<System::IO::Stream> outputStream)=0
ParameterTypeDescription
docSystem::SharedPtr<Document>PUB document
outputStreamSystem::SharedPtr<System::IO::Stream>output stream

See Also