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
| Parameter | Type | Description |
|---|---|---|
| skipFailedCharts | bool | Determines 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
- Class IPresentation
- Namespace Aspose::Slides
- Library Aspose.Slides