Aspose.Imaging.Pdf.Adapter 24.4.0

dotnet add package Aspose.Imaging.Pdf.Adapter --version 24.4.0
NuGet\Install-Package Aspose.Imaging.Pdf.Adapter -Version 24.4.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Aspose.Imaging.Pdf.Adapter" Version="24.4.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.Imaging.Pdf.Adapter --version 24.4.0
#r "nuget: Aspose.Imaging.Pdf.Adapter, 24.4.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Aspose.Imaging.Pdf.Adapter as a Cake Addin
#addin nuget:?package=Aspose.Imaging.Pdf.Adapter&version=24.4.0

// Install Aspose.Imaging.Pdf.Adapter as a Cake Tool
#tool nuget:?package=Aspose.Imaging.Pdf.Adapter&version=24.4.0

Aspose.Imaging.Pdf.Adapter for .NET

Aspose.Imaging.Pdf.Adapter for .NET Combines 2 Aspose products Aspose.Imaging for .NET and Aspose.Pdf for .NET, this allows you to use the functions of both libraries as a single whole and expand conversion between formats. This adapter supports conversion emf, wmf, cdr, psd, tiff, webp, etc. formats to formats supported by the Aspose.Pdf library, such as pdf (with more advanced settings), docx, xlsx, html, pptx. And also conversion PDF format to all formats supported by the Aspose.Imaging library, such as Emf, Wmf, J2k, Webp, Tiff, etc.

Platform Independence

Aspose.Imaging.Pdf.Adapter for .NET can be used to develop applications on Windows Desktop (x86, x64), Windows Server (x86, x64), Windows Azure, Windows Embedded (CE 6.0 R2), as well as Linux x64. The supported platforms include Net7.0.

New Features & Enhancements in Version 24.4

First release!

Getting Started with Aspose.Imaging.Pdf.Adapter for .NET

Are you ready to give Aspose.Imaging.Pdf.Adapter for .NET a try? Simply execute

Install-Package Aspose.Imaging.Pdf.Adapter

from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.Imaging.Pdf.Adapter for .NET and want to upgrade the version, please execute

Update-Package Aspose.Imaging.Pdf.Adapter

to get the latest version.

Usage example

Conversion Cdr file to Pdf format(Pdf1A) (Aspose.Imaging->Aspose.Pdf)

using Aspose.Imaging.ImageOptions;
using Aspose.Imaging.Pdf.Adapter;
using Aspose.Imaging.Pdf.Adapter.ImageOptions;
using Aspose.Pdf;

// Register adapter - must be called once to initialize the library
// it is possible not to explicitly call registration if there were previous calls
// PdfImage.SetLicense, PdfLoadOptions.Create, ImageOptionsExt
PdfImage.Register();

//if you have a license
PdfImage.SetLicense("license.lic");

using var image = Aspose.Imaging.Image.Load(@"example.cdr");
image.Save("result.pdf", new ImageOptionsExt<PdfSaveOptionsExt>()
{
    SaveOptions = new PdfSaveOptionsExt() {FormatConversionOptions = new PdfFormatConversionOptions(PdfFormat.PDF_A_1A)},
    VectorRasterizationOptions = new CdrRasterizationOptions()
    {
        PageSize = image.Size
    }
});

Conversion Cdr file to Docx format (Aspose.Imaging->Aspose.Pdf)

using Aspose.Imaging.ImageOptions;
using Aspose.Imaging.Pdf.Adapter;
using Aspose.Imaging.Pdf.Adapter.ImageOptions;
using Aspose.Pdf;

// Register adapter - must be called once to initialize the library
// it is possible not to explicitly call registration if there were previous calls
// PdfImage.SetLicense, PdfLoadOptions.Create, ImageOptionsExt
PdfImage.Register();

//if you have a license
PdfImage.SetLicense("license.lic");
using var image = Aspose.Imaging.Image.Load(@"example.cdr");
image.Save(@"result.docx", new ImageOptionsExt<DocSaveOptions>
{
    SaveOptions = new DocSaveOptions
    {
        Format = DocSaveOptions.DocFormat.DocX
    },
    VectorRasterizationOptions = new CdrRasterizationOptions
    {
        PageSize = image.Size
    }
});

Conversion Pdf file to webp format (Aspose.Pdf->Aspose.Imaging)

using Aspose.Imaging.ImageOptions;
using Aspose.Imaging.Pdf.Adapter;

// Register adapter - must be called once to initialize the library
// it is possible not to explicitly call registration if there were previous calls
// PdfImage.SetLicense, PdfLoadOptions.Create, ImageOptionsExt
PdfImage.Register();

//if you have a license
PdfImage.SetLicense("license.lic");
using var image = Aspose.Imaging.Image.Load("example.pdf"));
image.Save("result.webp", new WebPOptions());
Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
24.4.0 86 4/5/2024