RefreshChartsData()

IPresentation::RefreshChartsData(bool) method

Reloads the data for all charts in the presentation from their source workbooks.

virtual void Aspose::Slides::IPresentation::RefreshChartsData(bool skipFailedCharts=1)=0

Arguments

ParameterTypeDescription
skipFailedChartsboolDetermines whether the refresh process continues if a chart fails to update. If true, charts that cause an exception are skipped; otherwise the exception is propagated.

Remarks

auto presentation = System::MakeObject<Presentation>(u"PresentationWithCharts.pptx");
presentation->RefreshChartsData();
presentation->Save(u"PresentationWithCharts-out.pptx", SaveFormat::Pptx);

See Also