RefreshChartsData
Presentation.RefreshChartsData method
Reloads the data for all charts in the presentation from their source workbooks.
public void RefreshChartsData(bool skipFailedCharts = true)
| Parameter | Type | Description |
|---|---|---|
| skipFailedCharts | Boolean | 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. |
Examples
using (var presentation = new Presentation("PresentationWithCharts.pptx"))
{
presentation.RefreshChartsData();
presentation.Save("PresentationWithCharts-out.pptx", SaveFormat.Pptx);
}
See Also
- class Presentation
- namespace Aspose.Slides
- assembly Aspose.Slides