跳至页脚内容
PM > Install-Package IronPdf

IronPDF

Nuget NuGetPassed See what’s new:

Cross Platform Support

The editing API is fully managed and behaves identically everywhere — the same find-and-replace, the same redaction, the same object edits, whether the job runs on a Windows box, in a Linux container, or inside a serverless function. Nothing here depends on desktop software being installed on the machine.

Designed for C#, F#, & VB.NET running on .NET 10, 9, 8, 7, 6, 5, Core, Standard, or Framework
Available for .NET, Java, Node.js, and Python.

NET Logo
Windows Logo
Linux Logo
Mac Logo
Docker Logo Docker Logo
Azure Logo Azure Logo
AWS Logo AWS Logo
Visual Studio Logo Visual Studio Logo
NuGet Logo NuGet Logo
ReSharper

.NET 版本:

操作系统及处理器:

  • Windows (x64, x86)
  • Mac (x64, ARM)
  • Linux (x64)

.NET 项目类型:

  • Web (Blazor 和 WebForms)
  • 桌面 (WPF 和 MAUI)
  • 控制台 (应用程序及库)

应用程序环境:

  • Windows (10+,服务器 UI 2012+,服务器 Core 2022)
  • Linux (Ubuntu, Debian, CentOS, 等)
  • Mac (macOS 10+)
  • Docker (Windows, Linux, Azure)
  • Azure (VPS, WebApp, Function)
  • AWS (EC2, Lambda)

IDE:

二进制认证

  • DigiCert 签名的二进制文件

Most .NET libraries edit pages. This one edits what is on them.

Most .NET tools that say "edit" mean merge, split, and rotate. The generation-first libraries cannot open your file at all; the low-level free ones can, but replacing a line of text means rewriting content streams by hand. IronPDF edits inside the page: find and replace, redact, extract text and images, translate, scale, or remove objects, stamp, watermark, annotate, draw, set backgrounds, and add headers, footers and page numbers — one managed .NET API, no Acrobat, no Office interop.

立即获取您的免费30 天试用密钥

Everything you need for PDF editing in C#

Everything you need for PDF editing in C#

Why IronPDF?

Edit any PDF on any server — no Acrobat licence, no Office interop, no COM objects to keep alive.

Icon Why Fill S1 related to Edit PDF in C#
Inside the Page, Not Just the Page Order
Pixel-perfect rendering

  • Chromium-grade HTML/CSS/JS ➝ what you see in the browser is what’s in the PDF.
  • Fonts, SVGs, image, complex layouts - consistent across environment.
  • Handles header/footers, page number, margins, and pagination edge cases.

Icon Why Fill S3 related to Edit PDF in C#
Inside the Page, Not Just the Page Order
Up & running in 5 mins

  • PM >
    Install-Package IronPdf
    , then PdfDocument.FromFile("yours.pdf") — one line from editing. Replace text, redact, stamp, watermark, annotate, move or delete objects, add headers and page numbers, all named the way you would describe the task out loud.
  • Instant licence key, full API access, and a commercial licence with no copyleft strings attached.

Icon Why Fill S2 related to Edit PDF in C#
Inside the Page, Not Just the Page Order
Cross-platform

  • .NET 10, 9, 8 LTS, Framework 4.62+
  • OS: Windows, Linux, macOS.
  • Cloud/containers: Azure, AWS, Docker/Kubernetes, serverless.
Platform that supported

Icon Why Fill S4 related to Edit PDF in C#
Inside the Page, Not Just the Page Order
Great documentation

  • Copy-paste your first PDF
  • Task-based examples for HTML ➝ PDF, merge/split, stamping, forms, signing.
  • Troubleshooting for fonts, page breaks, headless/ cloud deploys.

Icon Why Fill S5 related to Edit PDF in C#
Inside the Page, Not Just the Page Order
Perpetual license & 24/5 support

  • Perpetual license - buy once, use forever. Optional updates and renewals.
  • 24/5 engineer support (24/7 in Premium) Real humans, median chat response <1 min
  • 30-day money-back guarantee Not the right fit? Full refund, no questions.

Icon Why Fill S8 related to Edit PDF in C#
Inside the Page, Not Just the Page Order
For builders

  • Features you'll actually use:
    • merge/split
    • TOC/bookmarks
    • headers/footers/margins
    • watermarks/stamps
    • forms (fill/extract)
    • attachments
    • images
    • permissions
    • compressing
    • digital signing
  • Works everywhere: Windows, Linux, macOS, Docker, Azure, AWS, cloud.

Icon Why Fill S9 related to Edit PDF in C#
Inside the Page, Not Just the Page Order
For buyers

  • Trusted by 2M+ engineers • 14M+ NuGet installs.
  • Teams report 40% dev-time saved vs DIY/OSS wrappers.
  • Redistribution/SaaS options available.
  • Procurement-friendly: perpetual license, optional renewals, invoice available, multiple payment options (including local).
  • 30-day money-back guarantee.

我们的客户如何评价IronPDF?

客户故事

已经在生产环境中运行IronPDF的团队的成果。

Agorus 40%节省

quote_symbol 过去我们可能需要使用一个插件或一个包来处理OCR,再使用另一个来处理PDF,而现在它们都集成到一个低成本包中,对我们来说真的非常棒。

David Jones David Jones 首席软件工程师 阅读案例研究  

Bg Chart Green related to Edit PDF in C#
Inside the Page, Not Just the Page Order 节省20%

Green2View实现了20%的节省、30%更快的文件周转速度,完全合规。

阅读案例研究  

Bg Chart Blue related to Edit PDF in C#
Inside the Page, Not Just the Page Order 减少行政工作40%

它就是这么工作——自动PDF生成每次都能提供完美无缺的财务报告。

阅读案例研究  

每次开发人员询问时,Iron都说是的! IronPDF

switch(faqQuestions)
{ 
    case "Can I deploy my application using the library to Linux, macOS, or Windows, including Docker containers?": return "YES";
    case "Can I render pixel-perfect PDFs from complex HTML5, CSS3, and JavaScript?": return "YES";
    case "Is the library thread-safe for use in highly concurrent, multi-threaded server applications and APIs?": return "YES";
    case "Can I set custom viewport dimensions and print media CSS to control responsive layouts?": return "YES";
    case "Is IronPDF compatible with Azure Functions?": return "YES";
    case "Can I permanently redact sensitive text and images from PDF documents?": return "YES";
    case "Can I generate a PDF from a URL that requires authentication via custom headers, cookies, or form logins?": return "YES";
    case "Can I access PDF DOM through ObjectModel property?": return "YES";
    case "Can I programmatically fill, read, and flatten interactive AcroForm?": return "YES";
    case "Does it support generating PDF/A and PDF/UA compliant documents for archiving and accessibility standards?": return "YES";
    case "Can I secure a document with 256-bit AES password encryption and set user permissions?": return "YES";
    case "Can I apply and verify digital signatures on a PDF using X.509 certificates?": return "YES";
    case "Can I test IronPDF in my live project for free now?": return "YES, click here to start your 30-day free trial";
}

Can I open a PDF I did not create and edit the text inside it?YES!

Does redaction actually remove the text, or just draw a black box over it?REMOVES IT

Can I move, resize, or delete individual objects on a page?YES!

Do I need Adobe Acrobat, Word, or any Office interop installed on the server?NO

Can I add headers, footers, page numbers, watermarks, stamps, and annotations to an existing file?YES!

Will editing a PDF re-flow or degrade the rest of the document?NO

Can I render pixel-perfect PDFs from complex HTML5, CSS3, and JavaScript?YES!

Can I convert an HTML string to PDF in one line of C# code?YES!

Can I convert a URL to PDF with authentication, cookies, and custom headers?YES!

Can I generate a PDF from Razor, CSHTML, or ASPX views?YES!

Can I add custom headers, footers, page numbers, and watermarks during conversion?YES!

Can I run HTML to PDF conversion in Docker, Azure Functions, or AWS Lambda?YES!

Can I deploy my application using the library to Linux, macOS, or Windows, including Docker containers?YES!

Is the library thread-safe for use in highly concurrent, multi-threaded server applications and APIs?YES!

Can I set custom viewport dimensions and print media CSS to control responsive layouts?YES!

Is IronPDF compatible with Azure Functions?YES!

Can I permanently redact sensitive text and images from PDF documents?YES!

Can I generate a PDF from a URL that requires authentication via custom headers, cookies, or form logins?YES!

Can I access PDF DOM through ObjectModel property?YES!

Can I programmatically fill, read, and flatten interactive AcroForm?YES!

Does it support generating PDF/A and PDF/UA compliant documents for archiving and accessibility standards?YES!

Can I secure a document with 256-bit AES password encryption and set user permissions?YES!

Can I apply and verify digital signatures on a PDF using X.509 certificates?YES!

Can I test IronPDF in my live project for free now?YES! Icon Arrow related to 每次开发人员询问时,Iron都说是的! IronPDF Click here to start your 30-day free trial

Floating Left Top related to 每次开发人员询问时,Iron都说是的! IronPDF
Floating Right Bottom related to 每次开发人员询问时,Iron都说是的! IronPDF
一流的工程,
24小时支持
  • Support Team Member 2 related to Edit PDF in C#
Inside the Page, Not Just the Page Order
  • Support Team Member 4 related to Edit PDF in C#
Inside the Page, Not Just the Page Order
  • Support Team Member 6 related to Edit PDF in C#
Inside the Page, Not Just the Page Order
  • Support Team Member 7 related to Edit PDF in C#
Inside the Page, Not Just the Page Order
  • Support Team Member Iron related to Edit PDF in C#
Inside the Page, Not Just the Page Order
联系专家

超过2,000万次NuGet安装,并且增长速度加快

20 M+ 2026
Nuget 16m Downloads Chart related to Edit PDF in C#
Inside the Page, Not Just the Page Order
准备开始了吗?
Nuget 下载 20,296,129 | 版本: 2026.7 刚刚发布
Still Scrolling Icon

还在滚动吗?

想快速获得证据? PM > Install-Package IronPdf
运行示例看着你的HTML代码变成PDF文件。

钢铁支援团队

我们每周 5 天,每天 24 小时在线。
聊天
电子邮件
打电话给我