Accusoft.ImageGearMP.Office
27.0.0
dotnet add package Accusoft.ImageGearMP.Office --version 27.0.0
NuGet\Install-Package Accusoft.ImageGearMP.Office -Version 27.0.0
<PackageReference Include="Accusoft.ImageGearMP.Office" Version="27.0.0" />
paket add Accusoft.ImageGearMP.Office --version 27.0.0
#r "nuget: Accusoft.ImageGearMP.Office, 27.0.0"
// Install Accusoft.ImageGearMP.Office as a Cake Addin #addin nuget:?package=Accusoft.ImageGearMP.Office&version=27.0.0 // Install Accusoft.ImageGearMP.Office as a Cake Tool #tool nuget:?package=Accusoft.ImageGearMP.Office&version=27.0.0
The Accusoft.ImageGearMP.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. For full setup instructions for Windows and Linux, see the Getting Started with ImageGear Office 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 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.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Accusoft.ImageGearMP.Core (>= 27.0.0)
- Accusoft.ImageGearMP.Pdf (>= 27.0.0)
- System.IO.Packaging (>= 6.0.0)
- System.Text.Encoding.CodePages (>= 6.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
27.0.0 | 77 | 1/6/2025 |