Sign in Sign up
nuget

Accusoft.ImageGear.Office

The `Accusoft.ImageGear.Office` package allows users to load, render, convert, and read metadata from Microsoft Word, Excel, and PowerPoint files. ## Dependencies ## ImageGear depends on LibreOffice v7 or later to provide support for office documents. LibreOffice can be obtained from [libreoffice.org](https://www.libreoffice.org/). For full setup instructions for Windows and Linux, see the [Getting Started with ImageGear Office](https://help.accusoft.com/ImageGear/latest/webframe.html#getting-started-with-imagegear-office.html) page of our documentation. ## Getting Started ## ImageGear makes it simple to work with office documents: ``` using System.IO; using ImageGear.Formats; using ImageGear.Formats.PDF; using ImageGear.Formats.Office; // Initialize office support ImGearCommonFormats.Initialize(); ImGearFileFormats.Filters.Add(ImGearPDF.CreatePDFFormat()); ImGearFileFormats.Filters.Add(ImGearOffice.CreateWordFormat()); ImGearPDF.Initialize(); ImGearOffice.Initialize(@"C:\Program Files\LibreOffice\program"); // Load a Word document. ImGearWordDocument document = null; using (Stream stream1 = File.OpenRead("input.docx")) document = ImGearFileFormats.LoadDocument(stream1) as ImGearWordDocument; // Save the first page of the Word document to a PNG file using (Stream pngOutputStream = File.Create("output.png")) ImGearFileFormats.SavePage(document.Pages[0], pngOutputStream, ImGearSavingFormats.PNG); // Dispose the document and terminate office support document.Dispose(); ImGearOffice.Terminate(); ImGearPDF.Terminate(); ``` For more examples of how to use ImageGear's API, check out our [sample code repository](https://github.com/Accusoft/imagegear-net-samples) on github. ## Licensing ## While you are evaluating the product, ImageGear doesn't require any licensing setup. The SDK is ready to use as soon as the NuGet package is installed. Until a paid license is purchased, image output will be watermarked. Contact info@accusoft.com for more information. ## Documentation ## API documentation and how-to content for ImageGear can be found online [here](https://help.accusoft.com/ImageGear/latest/webframe.html).

nuget View on Nuget

Activity

Latest release
7mo ago
Total releases
44
Cadence
~2 months
Last 12 months
1

Details

First release
Mar 03, 2016
Releases
Version Released
25.2.8 patch
25.2.7 patch
25.2.6 patch
25.2.5 patch
26.5.0 minor
25.2.4 patch
26.4.0 minor
25.2.3 patch
25.2.2 patch
25.2.1 patch
26.3.0 minor
26.2.0 minor
26.1.0 major
25.2.0 minor
25.1.1 patch
25.1.0 minor
25.0.1 major
24.14.0 minor
24.13.0 minor
24.12.17 minor
24.11.11 minor
24.10.8 minor
24.9.1 minor
24.8.1 minor
24.7.2 minor
24.6.4 minor
24.5.10 minor
24.4.3 minor
24.3.3 patch
24.3.2 minor
24.2.6 minor
24.1.4 minor
24.0.6 major
23.5.5 minor
23.4.3 minor
23.3.3 minor
23.2.94 minor
23.1.5 patch
23.1.4 minor
23.0.1 major
23.0.52 patch
22.2.42 minor
22.1.4 minor
22.0.36 initial