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 the 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 the 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

See also


Next steps

GemBox.Presentation is a .NET component that enables you to read, write, edit, convert, and print presentation files from your .NET applications using one simple API.

Download Buy