产品比较

Aspose PDF转换器教程与对比

发布 2024年八月11日
分享:

介绍

IronPDF IronPDF 和 Aspose PDF .NET 是两个强大的库,专为 .NET 应用程序中的 PDF 操作设计。 每个产品都提供了一套独特的功能,以便于PDF文档的创建、编辑和处理。 在本文中,我们将探讨这两种工具的一些功能,以及它们的许可选项、文档和支持。

IronPDF 和 Aspose.PDF 的概述

IronPDF是为.NET开发者设计的全面PDF库。 它提供了从各种源(包括HTML、ASPX和URL)创建、编辑和渲染PDF文件的功能。 IronPDF 广泛用于其集成简便性和支持现代网页标准如CSS3、HTML5和JavaScript的广泛功能集。 IronPDF 致力于通过最少的代码提供高保真度的 PDF 文件,使其成为开发者寻求强大且用户友好的 PDF 文件解决方案的理想选择。

Aspose.PDF for .NET 是一个复杂的 API,能够处理复杂的 PDF 文件操作。 此库允许开发者在各种.NET平台上创建、修改和操作PDF文件,包括WinForms、WPF、ASP.NET和.NET Core。 用托管的C#编写,Aspose.PDF强调灵活性和性能,非常适合需要复杂PDF操作的企业级应用程序。

跨平台兼容性

IronPDF和Aspose.PDF都与.NET框架、.NET Core、Azure和Windows具有很强的兼容性。 尽管IronPDF一开始就提供跨平台兼容性,但Aspose.PDF不能在跨平台环境中运行,而需要安装Aspose.Pdf.Drawing包。

考虑到这一点,IronPDF以其广泛的跨平台兼容性为傲,支持各种.NET版本、.NET项目类型和操作系统。 以下是IronPDF的主要兼容性亮点:

  • .NET 版本:.NET 8、7、6、Core 和 Framework。
  • 操作系统:Windows,Linux,Mac。
  • 云服务:完全兼容Azure和AWS环境。
  • 部署:在桌面、服务器和云环境上轻松部署。

    有关更多信息,请访问 IronPDF.

功能比较概览:IronPDF 与 Aspose.PDF

当比较时 IronPDF 和 Aspose.PDF 相比,查看每个库提供的具体功能是非常重要的。 以下是主要功能的分解:

IronPDF

  • HTML 转 PDF 转换: IronPDF 支持现代网页标准 (CSS3, HTML5, JavaScript),允许高保真度PDF文档创建。
  • PDF编辑:包括合并、拆分和修改PDF文件的功能。
  • PDF 生成:从 URL、ASPX 文件或 HTML 字符串生成和转换 PDF 文档。
  • 安全性:为PDF文件添加密码和权限。
  • 添加水印:在PDF文件中添加文本和图片水印。
  • 兼容性:支持 .NET Framework、.NET Core、Azure、AWS 以及各种操作系统。

  • 注释:向 PDF 文档添加文本、图像和链接注释。

Aspose.PDF .NET

  • PDF 创建:从头开始创建 PDF 或将各种文件格式转换为 PDF。
  • 文档操作:合并、分割和操作现有的PDF文件。
  • 表单处理:填写、提取、压平和管理PDF表单。 Aspose.PDF 也可以导入和导出 PDF 表单数据。
  • 注解和图章:向PDF文件添加和提取注解和图章。
  • 安全功能:使用Aspose.PDF,您可以加密PDF文档,解密PDF文档,设置文档查看器偏好和管理权限。
  • 转换:将 PDF 转换为 DOC、XLS 和 HTML 等其他格式。

  • 复杂内容处理:管理复杂的文档结构,如表格和书签。

    有关 IronPDF 提供的功能的更详细信息,请访问 IronPDF 功能.

IronPDF与Aspose.PDF功能比较

HTML 转换为 PDF

以下代码示例演示如何 转换 将HTML内容转换为PDF,比较这两种产品如何实现这一任务。

IronPDF:

using IronPdf;
// Disable local disk access or cross-origin requests
Installation.EnableWebSecurity = true;
// Instantiate Renderer
var renderer = new ChromePdfRenderer();
// Create a PDF from an HTML string using C#
var pdf = renderer.RenderHtmlAsPdf("<h1>Hello World</h1>");
pdf.SaveAs("output.pdf");
// Advanced Example with HTML Assets
// Load external html assets: images, CSS and JavaScript.
var myAdvancedPdf = renderer.RenderHtmlAsPdf("<img src='icons/iron.png'>", @"C:\site\assets\");
myAdvancedPdf.SaveAs("html-with-assets.pdf");
using IronPdf;
// Disable local disk access or cross-origin requests
Installation.EnableWebSecurity = true;
// Instantiate Renderer
var renderer = new ChromePdfRenderer();
// Create a PDF from an HTML string using C#
var pdf = renderer.RenderHtmlAsPdf("<h1>Hello World</h1>");
pdf.SaveAs("output.pdf");
// Advanced Example with HTML Assets
// Load external html assets: images, CSS and JavaScript.
var myAdvancedPdf = renderer.RenderHtmlAsPdf("<img src='icons/iron.png'>", @"C:\site\assets\");
myAdvancedPdf.SaveAs("html-with-assets.pdf");
IRON VB CONVERTER ERROR developers@ironsoftware.com
VB   C#

Aspose.PDF

using Aspose.Pdf;
using Aspose.Pdf.Text;
Document doc = new Document();
Page page = doc.Pages.Add();
HtmlFragment text = new HtmlFragment("<h1>Hello World</h1>");
page.Paragraphs.Add(text);
doc.Save("output.pdf");
using Aspose.Pdf;
using Aspose.Pdf.Text;
Document doc = new Document();
Page page = doc.Pages.Add();
HtmlFragment text = new HtmlFragment("<h1>Hello World</h1>");
page.Paragraphs.Add(text);
doc.Save("output.pdf");
IRON VB CONVERTER ERROR developers@ironsoftware.com
VB   C#

IronPDF 为用户提供了一种简洁高效的方法,将 HTML 内容转换为 PDF 文件,得益于其对现代网络标准的出色支持。 Aspose.PDF 提供了一个强大的 API,能够处理 HTML 到 PDF 的转换,但这个过程可能会被认为不够直接,需要更多的步骤。

加密PDF文件

处理敏感信息或私人数据时,能够加密和解密PDF文件在任何环境中都可能是必不可少的。 以下,我们比较这两款产品的处理方式 加密 PDF.

IronPDF:

using IronPdf;
using System;
// Open an Encrypted File, alternatively create a new PDF from Html
var pdf = PdfDocument.FromFile("encrypted.pdf", "password");
// Edit file metadata
pdf.MetaData.Author = "Satoshi Nakamoto";
pdf.MetaData.Keywords = "SEO, Friendly";
pdf.MetaData.ModifiedDate = DateTime.Now;
// Edit file security settings
// The following code makes a PDF read only and will disallow copy & paste and printing
pdf.SecuritySettings.RemovePasswordsAndEncryption();
pdf.SecuritySettings.MakePdfDocumentReadOnly("secret-key");
pdf.SecuritySettings.AllowUserAnnotations = false;
pdf.SecuritySettings.AllowUserCopyPasteContent = false;
pdf.SecuritySettings.AllowUserFormData = false;
pdf.SecuritySettings.AllowUserPrinting = IronPdf.Security.PdfPrintSecurity.FullPrintRights;
// change or set the document encryption password
pdf.Password = "my-password";
pdf.SaveAs("secured.pdf");
using IronPdf;
using System;
// Open an Encrypted File, alternatively create a new PDF from Html
var pdf = PdfDocument.FromFile("encrypted.pdf", "password");
// Edit file metadata
pdf.MetaData.Author = "Satoshi Nakamoto";
pdf.MetaData.Keywords = "SEO, Friendly";
pdf.MetaData.ModifiedDate = DateTime.Now;
// Edit file security settings
// The following code makes a PDF read only and will disallow copy & paste and printing
pdf.SecuritySettings.RemovePasswordsAndEncryption();
pdf.SecuritySettings.MakePdfDocumentReadOnly("secret-key");
pdf.SecuritySettings.AllowUserAnnotations = false;
pdf.SecuritySettings.AllowUserCopyPasteContent = false;
pdf.SecuritySettings.AllowUserFormData = false;
pdf.SecuritySettings.AllowUserPrinting = IronPdf.Security.PdfPrintSecurity.FullPrintRights;
// change or set the document encryption password
pdf.Password = "my-password";
pdf.SaveAs("secured.pdf");
IRON VB CONVERTER ERROR developers@ironsoftware.com
VB   C#

Aspose.PDF:

using Aspose.Pdf;
Document pdfDocument = new Document("document.pdf");
pdfDocument.Encrypt("password", null, Permissions.PrintDocument, CryptoAlgorithm.AESx128);
pdfDocument.Save("encrypted.pdf");
using Aspose.Pdf;
Document pdfDocument = new Document("document.pdf");
pdfDocument.Encrypt("password", null, Permissions.PrintDocument, CryptoAlgorithm.AESx128);
pdfDocument.Save("encrypted.pdf");
IRON VB CONVERTER ERROR developers@ironsoftware.com
VB   C#

虽然这两个库都提供了强大的加密工具,但IronPDF提供了一个简单直接的加密过程,同时也让用户对他们正在加密的PDF文件的安全设置有更多的控制权。 Aspose.PDF的加密过程也同样简洁明了; 然而,它在控制各种设置的便利性上不如其他产品。

编辑 PDF 内容

有时,特别是在处理私密或敏感数据时,您可能希望 编辑 PDF文档的某些部分。 下面,我们将比较IronPDF和Aspose.PDF中的文本涂改功能如何运作。

IronPDF:

using IronPdf;
//Load the document you want to use
PdfDocument pdf = PdfDocument.FromFile("novel.pdf");
// Redact the 'are' phrase from all pages
pdf.RedactTextOnAllPages("are");
//Save the redacted version of the document
pdf.SaveAs("redacted.pdf");
using IronPdf;
//Load the document you want to use
PdfDocument pdf = PdfDocument.FromFile("novel.pdf");
// Redact the 'are' phrase from all pages
pdf.RedactTextOnAllPages("are");
//Save the redacted version of the document
pdf.SaveAs("redacted.pdf");
IRON VB CONVERTER ERROR developers@ironsoftware.com
VB   C#

Aspose.PDF:

using Aspose.Pdf;
using Aspose.Pdf.Redaction;
Document document = new Document("novel.pdf");
TextFragmentAbsorber textFragmentAbsorber = new TextFragmentAbsorber("confidential");
document.Pages.Accept(textFragmentAbsorber);
foreach (TextFragment textFragment in textFragmentAbsorber.TextFragments)
{
    textFragment.Text = "XXXXX";
}
document.Save("redacted.pdf");
using Aspose.Pdf;
using Aspose.Pdf.Redaction;
Document document = new Document("novel.pdf");
TextFragmentAbsorber textFragmentAbsorber = new TextFragmentAbsorber("confidential");
document.Pages.Accept(textFragmentAbsorber);
foreach (TextFragment textFragment in textFragmentAbsorber.TextFragments)
{
    textFragment.Text = "XXXXX";
}
document.Save("redacted.pdf");
Imports Aspose.Pdf
Imports Aspose.Pdf.Redaction
Private document As New Document("novel.pdf")
Private textFragmentAbsorber As New TextFragmentAbsorber("confidential")
document.Pages.Accept(textFragmentAbsorber)
For Each textFragment As TextFragment In textFragmentAbsorber.TextFragments
	textFragment.Text = "XXXXX"
Next textFragment
document.Save("redacted.pdf")
VB   C#

在编辑PDF内容时,IronPDF 提供了一种直接的方法。 其直观简洁的 API 使用户能够以编程方式编辑内容,从而提高了工作空间的效率。

尽管Apsose.PDF可以实现类似的结果,但该过程更多是手动方法。 在上面的代码示例中,它展示了如何将您希望删除的文本替换为“XXXXX”; 如果您想像 IronPDF 那样在其上绘制黑色框,这个过程会变得更加复杂。

对PDF文档进行数字签名

当需要以程序化方式对 PDF 文档进行数字签名时,这样做可以节省大量时间。下面的代码示例比较了在签名过程中的 IronPDF 和 Aspose.PDF。

IronPDF:

using IronPdf;
using IronPdf.Signing;
using System.Security.Cryptography.X509Certificates;
// Create X509Certificate2 object with X509KeyStorageFlags set to Exportable
X509Certificate2 cert = new X509Certificate2("IronSoftware.pfx", "123456", X509KeyStorageFlags.Exportable);
// Create PdfSignature object
var sig = new PdfSignature(cert);
// Sign PDF document
PdfDocument pdf = PdfDocument.FromFile("document.pdf");
pdf.Sign(sig);
pdf.SaveAs("signed.pdf");
using IronPdf;
using IronPdf.Signing;
using System.Security.Cryptography.X509Certificates;
// Create X509Certificate2 object with X509KeyStorageFlags set to Exportable
X509Certificate2 cert = new X509Certificate2("IronSoftware.pfx", "123456", X509KeyStorageFlags.Exportable);
// Create PdfSignature object
var sig = new PdfSignature(cert);
// Sign PDF document
PdfDocument pdf = PdfDocument.FromFile("document.pdf");
pdf.Sign(sig);
pdf.SaveAs("signed.pdf");
Imports IronPdf
Imports IronPdf.Signing
Imports System.Security.Cryptography.X509Certificates
' Create X509Certificate2 object with X509KeyStorageFlags set to Exportable
Private cert As New X509Certificate2("IronSoftware.pfx", "123456", X509KeyStorageFlags.Exportable)
' Create PdfSignature object
Private sig = New PdfSignature(cert)
' Sign PDF document
Private pdf As PdfDocument = PdfDocument.FromFile("document.pdf")
pdf.Sign(sig)
pdf.SaveAs("signed.pdf")
VB   C#

Aspose.PDF:

using Aspose.Pdf;
using Aspose.Pdf.Forms;
using Aspose.Pdf.Facades;
Document document = new Document("input.pdf");
PKCS7 pkcs = new PKCS7("signature.pfx", "password");
Document.SignatureField signatureField = new SignatureField(document.Pages[1], new Rectangle(100, 100, 200, 200));
document.Form.Add(signatureField);
document.Save("signed.pdf");
using Aspose.Pdf;
using Aspose.Pdf.Forms;
using Aspose.Pdf.Facades;
Document document = new Document("input.pdf");
PKCS7 pkcs = new PKCS7("signature.pfx", "password");
Document.SignatureField signatureField = new SignatureField(document.Pages[1], new Rectangle(100, 100, 200, 200));
document.Form.Add(signatureField);
document.Save("signed.pdf");
Imports Aspose.Pdf
Imports Aspose.Pdf.Forms
Imports Aspose.Pdf.Facades
Private document As New Document("input.pdf")
Private pkcs As New PKCS7("signature.pfx", "password")
Private signatureField As Document.SignatureField = New SignatureField(document.Pages(1), New Rectangle(100, 100, 200, 200))
document.Form.Add(signatureField)
document.Save("signed.pdf")
VB   C#

IronPDF 提供了一个简单直接的 PDF 文档签名过程,需要的代码行数更少,因此使得过程快速且容易。 Aspose.PDF 的处理方法更加冗长,需要更多代码行来达到相同的结果,但它确实允许用户对过程有更多的控制。

应用 PDF 水印

添加的能力及 自定义水印 在您的PDF文档上以编程方式添加水印可以非常有用,特别是在处理机密文件、品牌塑造、确保版权保护等方面时。 现在,我们将比较 IronPDF 和 Aspose.PDF 如何在 PDF 文档中添加水印。

IronPDF:

using IronPdf;
// Stamps a Watermark onto a new or existing PDF
var renderer = new ChromePdfRenderer();
var pdf = renderer.RenderUrlAsPdf("https://www.nuget.org/packages/IronPdf/");
pdf.ApplyWatermark("<h2 style='color:red'>SAMPLE</h2>", 30, IronPdf.Editing.VerticalAlignment.Middle, IronPdf.Editing.HorizontalAlignment.Center);
pdf.SaveAs(@"C:\Path\To\Watermarked.pdf");
using IronPdf;
// Stamps a Watermark onto a new or existing PDF
var renderer = new ChromePdfRenderer();
var pdf = renderer.RenderUrlAsPdf("https://www.nuget.org/packages/IronPdf/");
pdf.ApplyWatermark("<h2 style='color:red'>SAMPLE</h2>", 30, IronPdf.Editing.VerticalAlignment.Middle, IronPdf.Editing.HorizontalAlignment.Center);
pdf.SaveAs(@"C:\Path\To\Watermarked.pdf");
Imports IronPdf
' Stamps a Watermark onto a new or existing PDF
Private renderer = New ChromePdfRenderer()
Private pdf = renderer.RenderUrlAsPdf("https://www.nuget.org/packages/IronPdf/")
pdf.ApplyWatermark("<h2 style='color:red'>SAMPLE</h2>", 30, IronPdf.Editing.VerticalAlignment.Middle, IronPdf.Editing.HorizontalAlignment.Center)
pdf.SaveAs("C:\Path\To\Watermarked.pdf")
VB   C#

Aspose.PDF:

using Aspose.Pdf;
using Aspose.Pdf.Text;
Document document = new Document("input.pdf");
TextStamp textStamp = new TextStamp("Confidential");
textStamp.Background = true;
textStamp.Opacity = 0.5;
document.Pages[1].AddStamp(textStamp);
document.Save("watermarked.pdf");
using Aspose.Pdf;
using Aspose.Pdf.Text;
Document document = new Document("input.pdf");
TextStamp textStamp = new TextStamp("Confidential");
textStamp.Background = true;
textStamp.Opacity = 0.5;
document.Pages[1].AddStamp(textStamp);
document.Save("watermarked.pdf");
Imports Aspose.Pdf
Imports Aspose.Pdf.Text
Private document As New Document("input.pdf")
Private textStamp As New TextStamp("Confidential")
textStamp.Background = True
textStamp.Opacity = 0.5
document.Pages(1).AddStamp(textStamp)
document.Save("watermarked.pdf")
VB   C#

IronPDF 的简单而有效的 API 允许用户快速地向其 PDF 文档添加水印,同时也因其使用 HTML/CSS 而在整个过程中提供了更多控制权。 这使用户能够根据自己的需求轻松应用自定义水印。 Aspose.PDF 缺乏原生的水印工具,因此它使用 TextStamp 方法。 虽然这能达到类似的结果,但它对过程的控制较少。

在PDF上加盖图像和文字

就像添加水印一样,有时您可能需要在PDF页面上加盖印章。 现在,我们将比较如何 IronPDF 和 Aspose.PDF 处理在 PDF 文档上加盖内容。

IronPDF:

using IronPdf;
using IronPdf.Editing;
ChromePdfRenderer renderer = new ChromePdfRenderer();
PdfDocument pdf = renderer.RenderHtmlAsPdf("<h1>Example HTML Document!</h1>");
// Create text stamper
TextStamper textStamper = new TextStamper()
{
    Text = "Text Stamper!",
    FontFamily = "Bungee Spice",
    UseGoogleFont = true,
    FontSize = 30,
    IsBold = true,
    IsItalic = true,
    VerticalAlignment = VerticalAlignment.Top
};
// Stamp the text stamper
pdf.ApplyStamp(textStamper);
pdf.SaveAs("stampText.pdf");
using IronPdf;
using IronPdf.Editing;
ChromePdfRenderer renderer = new ChromePdfRenderer();
PdfDocument pdf = renderer.RenderHtmlAsPdf("<h1>Example HTML Document!</h1>");
// Create text stamper
TextStamper textStamper = new TextStamper()
{
    Text = "Text Stamper!",
    FontFamily = "Bungee Spice",
    UseGoogleFont = true,
    FontSize = 30,
    IsBold = true,
    IsItalic = true,
    VerticalAlignment = VerticalAlignment.Top
};
// Stamp the text stamper
pdf.ApplyStamp(textStamper);
pdf.SaveAs("stampText.pdf");
Imports IronPdf
Imports IronPdf.Editing
Private renderer As New ChromePdfRenderer()
Private pdf As PdfDocument = renderer.RenderHtmlAsPdf("<h1>Example HTML Document!</h1>")
' Create text stamper
Private textStamper As New TextStamper() With {
	.Text = "Text Stamper!",
	.FontFamily = "Bungee Spice",
	.UseGoogleFont = True,
	.FontSize = 30,
	.IsBold = True,
	.IsItalic = True,
	.VerticalAlignment = VerticalAlignment.Top
}
' Stamp the text stamper
pdf.ApplyStamp(textStamper)
pdf.SaveAs("stampText.pdf")
VB   C#
using IronPdf;
using IronPdf.Editing;
using System;
ChromePdfRenderer renderer = new ChromePdfRenderer();
PdfDocument pdf = renderer.RenderHtmlAsPdf("<h1>Example HTML Document!</h1>");
// Create image stamper
ImageStamper imageStamper = new ImageStamper(new Uri("https://ironpdf.com/img/svgs/iron-pdf-logo.svg"))
{
    VerticalAlignment = VerticalAlignment.Top,
};
// Stamp the image stamper
pdf.ApplyStamp(imageStamper, 0);
pdf.SaveAs("stampImage.pdf");
using IronPdf;
using IronPdf.Editing;
using System;
ChromePdfRenderer renderer = new ChromePdfRenderer();
PdfDocument pdf = renderer.RenderHtmlAsPdf("<h1>Example HTML Document!</h1>");
// Create image stamper
ImageStamper imageStamper = new ImageStamper(new Uri("https://ironpdf.com/img/svgs/iron-pdf-logo.svg"))
{
    VerticalAlignment = VerticalAlignment.Top,
};
// Stamp the image stamper
pdf.ApplyStamp(imageStamper, 0);
pdf.SaveAs("stampImage.pdf");
IRON VB CONVERTER ERROR developers@ironsoftware.com
VB   C#

Aspose.PDF:

using Aspose.Pdf;
using Aspose.Pdf.Text;
Document document = new Document("input.pdf");
ImageStamp imageStamp = new ImageStamp("logo.png");
imageStamp.Background = true; // Enable background for the stamp
document.Pages[1].AddStamp(imageStamp);
document.Save("stamped.pdf");
using Aspose.Pdf;
using Aspose.Pdf.Text;
Document document = new Document("input.pdf");
ImageStamp imageStamp = new ImageStamp("logo.png");
imageStamp.Background = true; // Enable background for the stamp
document.Pages[1].AddStamp(imageStamp);
document.Save("stamped.pdf");
Imports Aspose.Pdf
Imports Aspose.Pdf.Text
Private document As New Document("input.pdf")
Private imageStamp As New ImageStamp("logo.png")
imageStamp.Background = True ' Enable background for the stamp
document.Pages(1).AddStamp(imageStamp)
document.Save("stamped.pdf")
VB   C#

在PDF文档上盖章文字和图像时,IronPDF提供了极大的灵活性和定制能力,使用户可以完全控制该过程。 它的 API 使用简单直接,特别适合熟悉 HTML/CSS 的用户。 Aspose.PDF 在印章处理方面保持了简单和专注的方式,牺牲了 IronPDF 提供的相同控制和直观感。

DOCX 转 PDF

在创建PDF文件时, 转换 将各种文件类型转换为PDF可能是至关重要的。 对于这个示例,我们将特别看一下如何将DOCX文件类型转换为PDF。

IronPDF:

using IronPdf;
// Instantiate Renderer
DocxToPdfRenderer renderer = new DocxToPdfRenderer();
// Render from DOCX file
PdfDocument pdf = renderer.RenderDocxAsPdf("Modern-chronological-resume.docx");
// Save the PDF
pdf.SaveAs("pdfFromDocx.pdf");
using IronPdf;
// Instantiate Renderer
DocxToPdfRenderer renderer = new DocxToPdfRenderer();
// Render from DOCX file
PdfDocument pdf = renderer.RenderDocxAsPdf("Modern-chronological-resume.docx");
// Save the PDF
pdf.SaveAs("pdfFromDocx.pdf");
IRON VB CONVERTER ERROR developers@ironsoftware.com
VB   C#

Aspose.PDF:

using Aspose.Words;
using Aspose.Words.Saving;
Document doc = new Document("input.docx");
doc.Save("output.pdf", SaveFormat.Pdf);
using Aspose.Words;
using Aspose.Words.Saving;
Document doc = new Document("input.docx");
doc.Save("output.pdf", SaveFormat.Pdf);
Imports Aspose.Words
Imports Aspose.Words.Saving
Private doc As New Document("input.docx")
doc.Save("output.pdf", SaveFormat.Pdf)
VB   C#

IronPDF 提供了一种简单直接的 DOCX 转 PDF 转换方法,利用 ChromePdfRenderer 从 DOCX 文件生成高保真度的 PDF 文件。 这一切都内置在IronPDF库中,无需额外的包就能将PDF文档转换为各种文件类型,然后在过程结束时保存PDF文档。

Aspose.PDF 本身无法将 DOCX 文件转换为 PDF 格式,而需要使用 Aspose.Words 包来管理转换,然后用户可以实施 Aspose.PDF 以进一步操作 PDF 文件。

功能比较概要

IronPDF 与 Aspose.PDF 功能比较

请访问获取更多代码示例。 IronPDF 示例.

定价与许可证:IronPDF 与 Aspose.PDF

当涉及到定价和许可时, IronPDF 提供一种简单且经济实惠的方法:

IronPDF 定价和许可

IronPDF 拥有不同级别和购买许可证的附加功能。 开发者也可以购买 Iron Suite 它使您可以仅以两个产品的价格访问IronSoftware的所有产品。 如果您尚未准备购买许可证,IronPDF提供了一种 免费试用 持续30天。

  • 永久许可证: 根据您团队的规模、项目需求和地点数量提供一系列永久许可证。 每种许可类型都包括电子邮件支持。
  • Lite License:此许可证价格为749美元,支持一个开发者、一个地点和一个项目。
  • Plus License(加强许可): 支持三名开发者、三个地点和三个项目,这是从轻量版许可升级的下一步,费用为$1,499。Plus许可还提供聊天支持和电话支持,除了基本的电子邮件支持。
  • 专业许可证: 此许可证适用于较大的团队,支持10名开发者、10个位置和10个项目,价格为2999美元。它提供与之前等级相同的联系支持渠道,但也提供屏幕共享支持。
  • 免版税重新分发: IronPDF 的许可还提供额外 $1,999 的免版税重新分发覆盖。
  • 持续不断的产品支持: IronPDF为用户提供持续的产品更新、安全功能升级以及他们工程团队的支持,费用为每年999美元或一次性支付1999美元,享受5年的服务。

  • IronSuite:花费 $1,498,您将获得所有Iron Software产品的访问权,包括IronPDF、IronOCR、IronWord、IronXL、IronBarcode、IronQR、IronZIP、IronPrint和IronWebScraper。

Aspose.PDF 定价

Aspose.PDF 提供了多个许可成本层次,每个层次都有其自身的功能集,并且都包括免费支持。 开发者在使用Aspose.PDF时,可能需要额外购买一些功能才能完成某些操作,就像我们在将DOCX转换为PDF格式时所见。

  • 开发者小企业版:此套餐费用为$1,679,支持一个开发者和一个部署地点。
  • 开发者OEM: 此层级的费用为5,037美元,支持一名开发者在无限制的部署地点使用。
  • 开发者SDK: 此级别的费用为33,580美元,支持一名开发者和50个商业部署。
  • 附加: 每个级别都提供两项您可以随许可证购买的附加服务,即付费支持和付费咨询。 这些额外服务的费用会随着每个许可证的增加而上升,最便宜的是开发者小企业计划,该计划每年支付支持费用为399美元,每位开发者每月咨询费用增加5,999美元。

    IronPDF提供了更具成本效益的解决方案,尤其是考虑到IronSuite套装,它以两个库的价格包含了多个强大的库。 有关详细定价信息,请访问 IronPDF 许可.

许可比较表

文档和支持:IronPDF vs. Aspose.PDF

IronPDF

  • 全面的文档:涵盖所有功能的广泛且用户友好的文档。
  • 24/5 支持:提供活跃的工程师支持。
  • 视频教程:详细的视频指南可在YouTube上找到。
  • 社区论坛:为了提供额外支持而设立的活跃社区。

  • 定期更新:每月产品更新,确保具备最新功能和安全补丁。

Aspose.PDF

  • 详尽文档:带有代码示例的全面文档。
  • 技术支持:标准支持在工作时间内提供。
  • 社区参与:提供活跃的论坛进行同行间支持。
  • 培训:在线培训资料可用。

    有关IronPDF文档和支持的更多详情,请访问 IronPDF文档IronSoftware YouTube频道.

结论

IronPDF和Aspose.PDF.NET在.NET环境中处理PDF文档时都提供了一套广泛的功能特性。 每个产品都有其独特的优势和功能。

IronPDF以其跨平台兼容性、对现代网络标准如CSS3、HTML5和JavaScript的广泛支持、使用简便性、成本效益以及在无需额外软件包的情况下完成各种PDF操作任务的能力而自豪。 IronPDF是一个强大的工具,当您想要简化PDF生成和操作任务时,可以添加到您的开发者工具包中。

IronSuite 用户可以利用 IronPDF 与其他 IronSoftware 产品的顺畅集成来实现更高级的操作。 例如,用户可以使用 IronPDF 将 QR 码添加到他们的 PDF 中。 IronQR, 使用 IronZIP 压缩他们的 PDF 文件 IronZip,使用 IronPrint 打印PDF文档,并执行其他许多潜在操作。

另一方面,虽然 Aspose.PDF 是一个强大的工具,提供了丰富的功能,用于复杂的 PDF 操作、详细的配置,并且能够在 .NET 环境中无缝操作,但它通常需要外部包来完成任务。 尽管它有一个活跃的支持论坛并轻松执行各种PDF相关任务。

最终选择IronPDF还是Aspose.PDF取决于具体项目需求。 IronPDF提供具有竞争力的定价、详尽的文档、响应迅速的支持以及强大的PDF操作工具,所有这些都在一个套餐中。

< 前一页
Wkhtmltopdf C# 比较与代码示例
下一步 >
ActivePDF DocConverter 教程和对比 IronPDF

准备开始了吗? 版本: 2024.9 刚刚发布

免费NuGet下载 总下载量: 10,731,156 查看许可证 >