Free version
Download
To install GemBox.Document Free, add the NuGet package to your project, or download setup and open the .msi file.
Install NuGet packageDownload Windows setup
Limitations
GemBox.Document Free delivers the same performance and set of features as the Professional version. However, the Free version is limited to 20 paragraphs. This limitation is enforced during reading or writing files.
The ComponentInfo.FreeLimitReached event allows you to control what happens when your application reaches the free version limit. You can use this event to continue using the assembly in Trial mode for performance testing or to stop further reading/writing.
First steps
Using the GemBox.Document component is easy and straightforward. After referencing GemBox.Document.dll from your project, you can use the following code snippet to generate a simple Word and PDF files:
C# code
static void Main() { // Set license key to use GemBox.Document in Free mode. ComponentInfo.SetLicense("FREE-LIMITED-KEY"); // Create a new empty Word file. var doc = new DocumentModel(); // Add a new document content. doc.Sections.Add(new Section(doc, new Paragraph(doc, "Hello world!"))); // Save to DOCX and PDF files. doc.Save("Document.docx"); doc.Save("Document.pdf"); }
Visual Basic .NET code
Sub Main() ' Set license key to use GemBox.Document in Free mode. ComponentInfo.SetLicense("FREE-LIMITED-KEY") ' Create a new empty Word file. Dim doc = New DocumentModel() ' Add a new document content. doc.Sections.Add(New Section(doc, New Paragraph(doc, "Hello world!"))) ' Save to DOCX and PDF files. doc.Save("Document.docx") doc.Save("Document.pdf") End Sub
Usage
You can use GemBox.Document Free for any purpose, including use in commercial applications.
GemBox is under no obligation to provide technical or any other support to the users of the free version.