Free version
Download
To install GemBox.Presentation Free, add the NuGet package to your project, or download setup and open the .msi file.
Install NuGet packageDownload Windows setup
Limitations
GemBox.Presentation Free delivers the same performance and set of features as the Professional version. However, the Free version is limited to five slides. 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.Presentation component is easy and straightforward. After referencing GemBox.Presentation.dll from your project, you can use the following code snippet to generate a simple PowerPoint file:
C# code
static void Main() { // Set license key to use GemBox.Presentation in Free mode. ComponentInfo.SetLicense("FREE-LIMITED-KEY"); // Create a new empty PowerPoint file. var presentation = new PresentationDocument(); // Add a new empty slide. var slide = presentation.Slides.AddNew(SlideLayoutType.Custom); // Add a text box of size 5 x 5 cm in the top-left corner of the slide. var textBox = slide.Content.AddTextBox(0, 0, 5, 5, LengthUnit.Centimeter); // Add a paragraph with text content to the text box. textBox.AddParagraph().AddRun("Hello World!"); // Save to PPTX and PDF files. presentation.Save("Presentation.pptx"); presentation.Save("Presentation.pdf"); }
Visual Basic .NET code
Sub Main() ' Set license key to use GemBox.Presentation in Free mode. ComponentInfo.SetLicense("FREE-LIMITED-KEY") ' Create a new empty PowerPoint file. Dim presentation = New PresentationDocument() ' Add a new empty slide. Dim slide = presentation.Slides.AddNew(SlideLayoutType.Custom) ' Add a text box of size 5 x 5 cm in the top-left corner of the slide. Dim textBox = slide.Content.AddTextBox(0, 0, 5, 5, LengthUnit.Centimeter) ' Add a paragraph with text content to the text box. textBox.AddParagraph().AddRun("Hello World!") ' Save to PPTX and PDF files. presentation.Save("Presentation.pptx") presentation.Save("Presentation.pdf") End Sub
Usage
You can use GemBox.Presentation 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.