Browse our Products
Aspose.PUB for CPP 25.12 Release Notes
Major Features
The functionality of working with PDF format has been optimized.
// Initialize license object
auto license = System::MakeObject<Aspose::Pub::License>();
// Set license
license->SetLicense(dataDir() + u"License\\Aspose.PUB.C++.lic");
System::String filePub = dataDir() + u"1.pub";
System::String filePdf = dataDir() + u"1.pdf";
System::SharedPtr<IPubParser> parser = PubFactory::CreateParser(filePub);
System::SharedPtr<Document> document = parser->Parse();
document->get_SummaryInfo()->SetAuthor(u"autor");
document->get_DocumentSummaryInfo()->SetCompany(u"company");
PubFactory::CreatePdfConverter()->ConvertToPdf(document, filePdf);
Got Queries?
If you have any query related to Aspose.PUB for C++ API, please feel free to write to reach us on Aspose.PUB forum. We’ll be glad to assist you with your inquiries.