Comments and Notes

Following sample demonstrates how GemBox.Document preserves comments and notes (endnotes and footnotes).

Screenshot

Comments and Notes 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("CommentsAndNotes.docx");
13
14        document.Save("Comments and Notes.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("CommentsAndNotes.docx")
12
13        document.Save("Comments and Notes.docx")
14
15    End Sub
16
17End Module

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