在生产环境中测试,没有水印。
在您需要的地方使用。
使用功能齐全的产品30天。
几分钟内即可启动和运行。
在产品试用期间,全面访问我们的支持工程团队
30DAYFREE
using IronPdf;
// Convert an HTML string to PDF in C#
var renderer = new ChromePdfRenderer();
PdfDocument pdf = renderer.RenderHtmlAsPdf("<h1>Hello World</h1>");
pdf.SaveAs("output.pdf");
// Also supported:
// renderer.RenderUrlAsPdf("https://example.com");
// renderer.RenderHtmlFileAsPdf("design.html");
Install-Package IronPdf
您的试用密钥应在电子邮件中。
如果没有,请联系我们
support@ironsoftware.com
Built for developers who need HTML to PDF conversion that actually matches the browser.
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";
}
我能否通过复杂的 HTML5、CSS3 和 JavaScript 呈现像素完美的 PDF?
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!
我能否使用该库将应用程序部署到 Linux、macOS 或 Windows 系统(包括 Docker 容器)?可以!
该库是否适用于高并发、多线程的服务器应用程序和接口?是的!
我能否设置自定义视口尺寸和打印介质CSS来控制响应式布局?可以!
IronPDF 是否兼容 Azure Functions?是的!
能否永久性地从PDF文档中删除敏感文本和图像?可以!
能否从需要通过自定义头、Cookie 或表单登录进行身份验证的 URL 生成 PDF?可以!
能否通过ObjectModel属性访问PDF DOM?可以!
能否通过编程方式填充、读取和扁平化交互式AcroForm?可以!
是否支持生成符合PDF/A和PDF/UA标准的文档,以满足归档和无障碍访问要求?是的!
我能否使用256位AES密码加密来保护文档并设置用户权限?可以!
我能否使用X.509证书对PDF文件进行数字签名申请和验证?可以!
我现在可以在我的实时项目中免费测试 IronPDF 吗?可以! 点击此处开始您的 30 天免费试用。
