Charts and Diagrams

Some features, like charts or SmartArt diagrams, are currently not supported by the GemBox.Presentation API. Nevertheless, they are preserved in the output file written by GemBox.Presentation if the input PowerPoint file contains them.

For more information about GemBox.Presentation preservation, see the preservation help page.

The following example demonstrates how GemBox.Presentation preserves charts, diagrams and the currently unsupported shapes.

Screenshot of PowerPoint chart and diagram preserved with GemBox.Presentation
PowerPoint chart and diagram preserved with GemBox.Presentation
Upload your file (Drag file here)
using GemBox.Presentation;

class Program
{
    static void Main(string[] args)
    {
        // If using Professional version, put your serial key below.
        ComponentInfo.SetLicense("FREE-LIMITED-KEY");

        var presentation = PresentationDocument.Load("%InputFileName%");

        presentation.Save("Charts and Diagrams.pptx");
    }
}
Imports GemBox.Presentation

Module Program

    Sub Main()

        ' If using Professional version, put your serial key below.
        ComponentInfo.SetLicense("FREE-LIMITED-KEY")

        Dim presentation = PresentationDocument.Load("%InputFileName%")

        presentation.Save("Charts and Diagrams.pptx")
    End Sub
End Module

Check next example or download examples from GitHub.