Diagrams

Some features, like 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 shows how GemBox.Presentation preserves diagrams and the currently unsupported shapes.

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

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

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

        presentation.Save("Diagrams Output.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("Diagrams Output.pptx")
    End Sub
End Module

Want more?

Next example GitHub

Check the next example or select an example from the menu. You can also download our examples from the GitHub.


Like it?

Download Buy

If you want to try the GemBox.Presentation yourself, you can download the free version. It delivers the same performance and set of features as the professional version, but with some operations limited. To remove the limitation, you need to purchase a license.