const String templatePath = u"../templates/SamplePresentation.pptx";
	const String outPath = u"../out/SamplePresentation_out.pptx";

	auto presentation = System::MakeObject<Presentation>(templatePath);

	System::SharedPtr<ISaveOptions> saveOptions = System::MakeObject<PdfOptions>();

	System::SharedPtr<IProgressCallback> callBack = System::MakeObject<ExportProgressHandler>();

	saveOptions->set_ProgressCallback(callBack);
	presentation->Save(outPath, Aspose::Slides::Export::SaveFormat::Pdf, saveOptions);