Charts and Shapes

Following sample demonstrates how GemBox.Document preserves charts, diagrams and currently unsupported shapes.

For a supported shapes, see Shapes sample.

Screenshot

Charts and Shapes Screenshot

See the full code below, use RUN EXAMPLE to execute.

Upload your file (Drag files here)

1using System;
2using GemBox.Document;
3
4class Sample
5{
6    [STAThread]
7    static void Main(string[] args)
8    {
9        // If using Professional version, put your serial key below.
10        ComponentInfo.SetLicense("FREE-LIMITED-KEY");
11
12        DocumentModel document = DocumentModel.Load("ChartsAndShapes.docx");
13
14        document.Save("Charts and Shapes.docx");
15    }
16}
1Imports System
2Imports GemBox.Document
3
4Module Samples
5
6    Sub Main()
7
8        ' If using Professional version, put your serial key below.
9        ComponentInfo.SetLicense("FREE-LIMITED-KEY")
10
11        Dim document As DocumentModel = DocumentModel.Load("ChartsAndShapes.docx")
12
13        document.Save("Charts and Shapes.docx")
14
15    End Sub
16
17End Module

Check next sample or find out more about GemBox.Document and GemBox Software.