Accusoft.ImageGearMP.Pdf
27.0.0
dotnet add package Accusoft.ImageGearMP.Pdf --version 27.0.0
NuGet\Install-Package Accusoft.ImageGearMP.Pdf -Version 27.0.0
<PackageReference Include="Accusoft.ImageGearMP.Pdf" Version="27.0.0" />
paket add Accusoft.ImageGearMP.Pdf --version 27.0.0
#r "nuget: Accusoft.ImageGearMP.Pdf, 27.0.0"
// Install Accusoft.ImageGearMP.Pdf as a Cake Addin #addin nuget:?package=Accusoft.ImageGearMP.Pdf&version=27.0.0 // Install Accusoft.ImageGearMP.Pdf as a Cake Tool #tool nuget:?package=Accusoft.ImageGearMP.Pdf&version=27.0.0
The Accusoft.ImageGearMP.Pdf
package includes all the functionality needed to work with PDF and PostScript files. The package provides full multi-page reading and writing support for entire PDF documents, as well as for a specified set of a document's pages.
Getting Started
Working with PDFs in ImageGear is easy:
using ImageGear.Formats;
using ImageGear.Formats.PDF;
using System.IO;
// Initialize PDF support
ImGearCommonFormats.Initialize();
ImGearFileFormats.Filters.Add(ImGearPDF.CreatePDFFormat());
ImGearPDF.Initialize();
// Load a PDF document.
ImGearPDFDocument imGearPDFDocument = null;
using (FileStream stream = File.OpenRead("input.pdf"))
imGearPDFDocument = ImGearFileFormats.LoadDocument(stream) as ImGearPDFDocument;
// Save the PDF document to a multi-page tiff file
using (FileStream outputStream = File.Create("output.tif"))
ImGearFileFormats.SaveDocument(imGearPDFDocument, outputStream, 0, ImGearSavingModes.OVERWRITE, ImGearSavingFormats.TIF_DEFLATE, new ImGearSaveOptions());
// Terminate PDF support
imGearPDFDocument.Dispose();
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)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Accusoft.ImageGearMP.Pdf:
Package | Downloads |
---|---|
Accusoft.ImageGearMP.Office
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](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). |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
27.0.0 | 521 | 1/6/2025 |