RefreshChartsData()
Presentation::RefreshChartsData(bool) method
Reloads the data for all charts in the presentation from their source workbooks.
void Aspose::Slides::Presentation::RefreshChartsData(bool skipFailedCharts=1) override
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 Presentation
- Namespace Aspose::Slides
- Library Aspose.Slides