Ironpdf for nuget
Author: f | 2025-04-25
Download IronPDF for NuGet latest version for Windows free to try. IronPDF for NuGet latest update: Febru
IronPdf 2025.1.1 - NuGet Gallery
介绍.NET Core 是微软开发的一个开源、跨平台框架,因其灵活性、性能和对基于云的应用程序的支持而越来越受欢迎。 然而,在处理 PDF 文件时,特别是在执行以下任务时打印 PDF 文档在翻译过程中,开发人员需要一个功能强大且丰富的 PDF 库。 这就是 IronPDF 帮助开发人员的地方。IronPDF是专为 .NET Framework(包括 .NET Core 和 ASP.NET Core)设计的综合库,可简化处理 PDF 文档的过程。 它不仅可以创建和处理 PDF 文件,还提供了无缝打印这些文档的方法,无论是直接打印到打印机还是将其转换为适合打印的格式。在本教程中,我们将深入介绍 IronPDF for .NET Core 环境下的功能。 从设置项目和创建第一个 PDF 文档,到配置打印设置和实现高级打印功能,我们将指导您完成每个步骤。本教程旨在让您掌握在 .NET Core 应用程序中高效处理打印 PDF 文件所需的知识和工具。如何在.NET Core中打印PDF文件在 Visual Studio 中创建 ASP.NET Core Web 项目使用 NuGet 软件包管理器安装 PDF 库在控制器中创建或加载 PDF 文档使用 PDF 库打印加载的 PDF 文件设置您的 .NET Core 项目安装 IronPDF - .NET PDF 库要开始在您的 .NET 应用程序中使用 PDF,第一步就是集成 IronPDF for .NET 库。 IronPDF for .NET 是一个功能强大、用途广泛的库,可让 .NET 开发人员轻松创建、编辑,最重要的是还能打印 PDF 文档。 让我们来了解一下安装过程:创建您的 .NET Core 项目:打开 Visual Studio 并选择 "创建新项目"。在项目模板选择窗口中,按 "所有平台 "下的 "Web "过滤,然后选择 "ASP.NET Core Web App"。安装 IronPDF:进入 "NuGet 包管理器",搜索 "IronPDF",将其安装到您的项目中。 确保 IronPdf 库已正确安装并在项目文件中引用。 您需要在代码中包含适当的 "using "语句,如 "using IronPdf;"。在 ASP.NET Core 中创建基本 PDF 文档要在 ASP.NET Core Web 应用程序中使用 IronPDF 创建 PDF 文档,首先要在其中一个控制器中添加一些代码。 下面是一个简单的例子:设置新控制器在项目中创建一个新控制器,负责处理 PDF 创建请求。 例如,您可以将其命名为 "PdfController"。编写操作方法在您的新控制器中,编写一个名为 "CreatePdf "的操作方法,其结果将返回一个 PDF 文件。using IronPdf;using Microsoft.AspNetCore.Mvc;namespace YourProjectName.Controllers{ public class PdfController : Controller { public IActionResult CreatePdf() { // Create a new PDF document var renderer = new ChromePdfRenderer(); var pdf = renderer.RenderHtmlAsPdf("Hello, IronPDF!This is a simple PDF document created in an ASP.NET Core web app."); // Save the PDF to the server's memory var content = pdf.Stream.ToArray(); // Return the PDF to the browser as a file download return File(content, "application/pdf", "MyFirstPdf.pdf"); } }}using IronPdf;using Microsoft.AspNetCore.Mvc;namespace YourProjectName.Controllers{ public class PdfController : Controller { public IActionResult CreatePdf() { // Create a new PDF document var renderer = new ChromePdfRenderer(); var pdf = renderer.RenderHtmlAsPdf("Hello, IronPDF!This is a simple PDF document created in an ASP.NET Core web app."); // Save the PDF to the server's memory var content = pdf.Stream.ToArray(); // Return the PDF to the browser as a file download return File(content, "application/pdf", "MyFirstPdf.pdf"); } }}Imports IronPdfImports Microsoft.AspNetCore.MvcNamespace YourProjectName.Controllers Public Class PdfController Inherits Controller Public Function CreatePdf() As IActionResult ' Create a new PDF document Dim renderer = New ChromePdfRenderer() Dim pdf = renderer.RenderHtmlAsPdf("Hello, IronPDF!This is a simple PDF document created in an ASP.NET Core web app.") ' Save the PDF to the server's memory Dim content = pdf.Stream.ToArray() ' Return the PDF to the browser as a file download Return File(content, "application/pdf", "MyFirstPdf.pdf") End Function End ClassEnd Namespace$vbLabelText $csharpLabel运行您的应用程序启动您的应用程序并导航到您的 PdfController 中的 CreatePdf 操作。 例如,如果您的应用程序运行在端口为 "5000 "的. Download IronPDF for NuGet latest version for Windows free to try. IronPDF for NuGet latest update: Febru Tools NuGet Package Manager Manage NuGet Packages for Solution; Browse for IronPDF and install. Using Command-Line: Follow these steps to install IronPDF using the Package Manager Console. Tools NuGet Package Manager Package Manager Console; Enter Install-Package IronPdf. Direct Download from NuGet: Navigate to NuGet IronPDF. Go to the Tools menu and choose NuGet Package Manager, then click on Manage NuGet Packages for Solution. Navigate to NuGet Package Manager. In the Browse tab, search for IronPDF in the search box. Search for IronPDF in NuGet Package Manager UI. Click on the IronPdf package and select it for your project, then click the Install button. 2. Install the IronPDF Library. To install the IronPDF Library we can use any of the methods listed below: 2.1. NuGet Package Manager. We can install the IronPDF C .NET Core Library from the NuGet Package Manager. Open the Package Manager by clicking on Tools NuGet Package Manager Manage NuGet Packages for Solution. LINQ to Entities, LINQ to XML, LINQ to Objects, RavenDB, debug visualizer, LINQ query visualizer, debugging LINQ, ORM profiler, Entity Framework profiler, NHibernate profiler C# PDF 2022.4.5575 ... coders are generating PDFs in minutes using the Visual Studio Nuget package manager. Functions: - Generate PDF documents ... Shareware | $499.00 tags: C# PDF, HTML, ASPX, VB.NET, ASP.NET, Html-to-pdf, ASP.NET, pdf c#, create, render, generate, convert, library ASPX to PDF 2022.4.5575 ... We then use the IronPDF library NuGet inside Visual Studio or similar .NET IDE. homepage Once the IronPDF ... of the HTML by converting it to a visually identical PDF file. This is a ASP.net html ... Shareware | $499.00 tags: ASPX, .Net, VB.Net, ASP.Net, asp, aspx to pdf, aspx-to-pdf, html to pdf, convertor, generator library, .Net software component RAD Studio 12.2 RAD Studio, developed by Embarcadero Technologies, Inc., is a comprehensive ... software development process. At its core, RAD Studio supports the development of native applications for Windows, ... One of the standout features of RAD Studio is its advanced visual design tools. The IDE ... Trialware Microsoft Visual Studio Professional 2022.17.13.4 Microsoft Visual Studio Professional is a robust, integrated development environment (IDE) ... projects. One of the key strengths of Visual Studio Professional is its comprehensive suite of features aimed ... errors. Collaboration is at the heart of Visual Studio Professional. It integrates seamlessly with Azure DevOps, ... Trialware SMTP/POP3/IMAP Email Lib Visual Basic 8.5.1 MarshallSoft SMTP/POP3/IMAP Visual Basic email component library (SEE4VB) uses a simple ... Base64 and quoted-printable encoded attachments, from within a Visual Basic application. Features SEE4VB include: - Send email ... add TO, CC, BCC recipients. - Includes multiple Visual Basic example programs. - Does not depend on ... Shareware | $139.00 tags: SMTP component, POP3 component, SMTP, POP3, IMAP, email component, sendComments
介绍.NET Core 是微软开发的一个开源、跨平台框架,因其灵活性、性能和对基于云的应用程序的支持而越来越受欢迎。 然而,在处理 PDF 文件时,特别是在执行以下任务时打印 PDF 文档在翻译过程中,开发人员需要一个功能强大且丰富的 PDF 库。 这就是 IronPDF 帮助开发人员的地方。IronPDF是专为 .NET Framework(包括 .NET Core 和 ASP.NET Core)设计的综合库,可简化处理 PDF 文档的过程。 它不仅可以创建和处理 PDF 文件,还提供了无缝打印这些文档的方法,无论是直接打印到打印机还是将其转换为适合打印的格式。在本教程中,我们将深入介绍 IronPDF for .NET Core 环境下的功能。 从设置项目和创建第一个 PDF 文档,到配置打印设置和实现高级打印功能,我们将指导您完成每个步骤。本教程旨在让您掌握在 .NET Core 应用程序中高效处理打印 PDF 文件所需的知识和工具。如何在.NET Core中打印PDF文件在 Visual Studio 中创建 ASP.NET Core Web 项目使用 NuGet 软件包管理器安装 PDF 库在控制器中创建或加载 PDF 文档使用 PDF 库打印加载的 PDF 文件设置您的 .NET Core 项目安装 IronPDF - .NET PDF 库要开始在您的 .NET 应用程序中使用 PDF,第一步就是集成 IronPDF for .NET 库。 IronPDF for .NET 是一个功能强大、用途广泛的库,可让 .NET 开发人员轻松创建、编辑,最重要的是还能打印 PDF 文档。 让我们来了解一下安装过程:创建您的 .NET Core 项目:打开 Visual Studio 并选择 "创建新项目"。在项目模板选择窗口中,按 "所有平台 "下的 "Web "过滤,然后选择 "ASP.NET Core Web App"。安装 IronPDF:进入 "NuGet 包管理器",搜索 "IronPDF",将其安装到您的项目中。 确保 IronPdf 库已正确安装并在项目文件中引用。 您需要在代码中包含适当的 "using "语句,如 "using IronPdf;"。在 ASP.NET Core 中创建基本 PDF 文档要在 ASP.NET Core Web 应用程序中使用 IronPDF 创建 PDF 文档,首先要在其中一个控制器中添加一些代码。 下面是一个简单的例子:设置新控制器在项目中创建一个新控制器,负责处理 PDF 创建请求。 例如,您可以将其命名为 "PdfController"。编写操作方法在您的新控制器中,编写一个名为 "CreatePdf "的操作方法,其结果将返回一个 PDF 文件。using IronPdf;using Microsoft.AspNetCore.Mvc;namespace YourProjectName.Controllers{ public class PdfController : Controller { public IActionResult CreatePdf() { // Create a new PDF document var renderer = new ChromePdfRenderer(); var pdf = renderer.RenderHtmlAsPdf("Hello, IronPDF!This is a simple PDF document created in an ASP.NET Core web app."); // Save the PDF to the server's memory var content = pdf.Stream.ToArray(); // Return the PDF to the browser as a file download return File(content, "application/pdf", "MyFirstPdf.pdf"); } }}using IronPdf;using Microsoft.AspNetCore.Mvc;namespace YourProjectName.Controllers{ public class PdfController : Controller { public IActionResult CreatePdf() { // Create a new PDF document var renderer = new ChromePdfRenderer(); var pdf = renderer.RenderHtmlAsPdf("Hello, IronPDF!This is a simple PDF document created in an ASP.NET Core web app."); // Save the PDF to the server's memory var content = pdf.Stream.ToArray(); // Return the PDF to the browser as a file download return File(content, "application/pdf", "MyFirstPdf.pdf"); } }}Imports IronPdfImports Microsoft.AspNetCore.MvcNamespace YourProjectName.Controllers Public Class PdfController Inherits Controller Public Function CreatePdf() As IActionResult ' Create a new PDF document Dim renderer = New ChromePdfRenderer() Dim pdf = renderer.RenderHtmlAsPdf("Hello, IronPDF!This is a simple PDF document created in an ASP.NET Core web app.") ' Save the PDF to the server's memory Dim content = pdf.Stream.ToArray() ' Return the PDF to the browser as a file download Return File(content, "application/pdf", "MyFirstPdf.pdf") End Function End ClassEnd Namespace$vbLabelText $csharpLabel运行您的应用程序启动您的应用程序并导航到您的 PdfController 中的 CreatePdf 操作。 例如,如果您的应用程序运行在端口为 "5000 "的
2025-04-20LINQ to Entities, LINQ to XML, LINQ to Objects, RavenDB, debug visualizer, LINQ query visualizer, debugging LINQ, ORM profiler, Entity Framework profiler, NHibernate profiler C# PDF 2022.4.5575 ... coders are generating PDFs in minutes using the Visual Studio Nuget package manager. Functions: - Generate PDF documents ... Shareware | $499.00 tags: C# PDF, HTML, ASPX, VB.NET, ASP.NET, Html-to-pdf, ASP.NET, pdf c#, create, render, generate, convert, library ASPX to PDF 2022.4.5575 ... We then use the IronPDF library NuGet inside Visual Studio or similar .NET IDE. homepage Once the IronPDF ... of the HTML by converting it to a visually identical PDF file. This is a ASP.net html ... Shareware | $499.00 tags: ASPX, .Net, VB.Net, ASP.Net, asp, aspx to pdf, aspx-to-pdf, html to pdf, convertor, generator library, .Net software component RAD Studio 12.2 RAD Studio, developed by Embarcadero Technologies, Inc., is a comprehensive ... software development process. At its core, RAD Studio supports the development of native applications for Windows, ... One of the standout features of RAD Studio is its advanced visual design tools. The IDE ... Trialware Microsoft Visual Studio Professional 2022.17.13.4 Microsoft Visual Studio Professional is a robust, integrated development environment (IDE) ... projects. One of the key strengths of Visual Studio Professional is its comprehensive suite of features aimed ... errors. Collaboration is at the heart of Visual Studio Professional. It integrates seamlessly with Azure DevOps, ... Trialware SMTP/POP3/IMAP Email Lib Visual Basic 8.5.1 MarshallSoft SMTP/POP3/IMAP Visual Basic email component library (SEE4VB) uses a simple ... Base64 and quoted-printable encoded attachments, from within a Visual Basic application. Features SEE4VB include: - Send email ... add TO, CC, BCC recipients. - Includes multiple Visual Basic example programs. - Does not depend on ... Shareware | $139.00 tags: SMTP component, POP3 component, SMTP, POP3, IMAP, email component, send
2025-04-09Iron Suite for .NET The full .NET Suite for your office Buy License Today What can you do with Iron Suite products? Convert HTML to PDF in .NET 9, 8, 7, 6, Core, & Framework Generate PDFs in C# using HTML, MVC, ASPX, & Images Sign, Edit, and Read PDFs with 5+ Features Install & Deploy in minutes with NuGet Explore IronPDF Intuitive C# & VB.NET Word and Docx Document API No need to install Microsoft Office or Word Interop Build, edit, & export Word document files Fully supports .NET 9, 8, 7, 6, Framework, Core, and Azure Explore IronWord Intuitive C# & VB.NET Excel Document API No need to install Microsoft Office or Excel Interop Read, edit, & create Excel spreadsheet files Fully supports .NET 9, 8, 7, 6, Framework, Core, and Azure Explore IronXL Intuitive C# & VB.NET PPTX Presentation API No need to install Microsoft Office or PowerPoint Interop Read & edit PowerPoint presentation files Fully supports .NET 9, 8, 7, 6, Framework, Core, and Azure Explore IronPPT OCR for C# to scan and read images & PDFs .NET OCR library with 127+ global language packs Output as text, structured data, or searchable PDFs Supports .NET 9, 8, 7, 6, Core, Standard, Framework Explore IronOCR Generate Barcodes in C# & VB .NET Applications Read Barcodes from Scanned Images & PDFs Supports .NET 9, 8, 7, 6, Core, Standard, Framework Explore IronBarcode Generate & Read QR Codes on Desktop, Mobile, or Cloud Custom Machine Learning Model reads any QR Code Fully supports .NET 9, 8, 7, 6, Core, Standard, Framework Explore IronQR Highly deployable printing library Choose to print with dialog or silent printing Built for WebApps, MAUI, Avalonia, and more Fully supports .NET 9, 8, 7, 6, Framework, and Core Explore IronPrint Create, Read, & Extract Archives on Desktop, Mobile, & Cloud Supports ZIP, TAR, GZIP, and BZIP2 Archives Fully supports .NET 9, 8, 7, 6, Core, Standard, and Framework Explore IronZIP C# framework for extracting clean, unstructured data from html web applications Useful for system migrations, populating search engines, competitive analysis and data mining Explore IronWebScraper A few of the reasons Iron Suite is a market leading .NET document suite. 10 for the Price of 2 You get all 10 Iron Software products for the price of 2 individual products. Up & running in 5 mins From the first download to working in production, in literally
2025-04-21"localhost "上,请在网络浏览器中访问 。下载 PDF访问 URL 后,将生成 PDF 文档并通过网络浏览器下载。 如果您想查看生成的 PDF,则必须使用 PDF 查看器在计算机上阅读。使用 IronPDF for .NET 在 .NET Core 中打印 PDF 文档一旦掌握了在 ASP.NET Core Web App 中创建 PDF 文档的方法,下一步就是实现打印功能。 IronPDF 提供了一种在项目中打印 PDF 文档的直接方法,可将文档打印到运行应用程序的服务器可访问的打印机上。配置默认打印机和打印机名称要打印 PDF 文档,您需要在应用程序中配置打印机设置。 IronPdf 允许您通过打印机名称指定打印机,打印机可以是本地安装的打印机,也可以是网络打印机。 此外,您还可以定义纸张来源或方向等其他设置。下面是您的 PdfController 类程序中的一个示例方法,用于配置打印机设置并启动打印作业:using IronPdf;using Microsoft.AspNetCore.Mvc;public class PdfController : Controller{ public IActionResult PrintPdf() { // Assuming 'htmlContent' is the HTML string you want to print var htmlContent = "InvoiceThank you for your business!"; // Render the HTML content to a PDF in memory var renderer = new ChromePdfRenderer(); var pdf = renderer.RenderHtmlAsPdf(htmlContent); // Get the PrintDocument from the PDF var printDoc = pdf.GetPrintDocument(); // Set the printer name printDoc.PrinterSettings.PrinterName = "Your Printer Name"; // Replace with your printer's name // Optional: Set other printer settings // printDoc.PrinterSettings.Copies = 2; // printDoc.DefaultPageSettings.Landscape = true; // Print the document printDoc.Print(); // Return a response to the client, e.g., a confirmation message return Content("The document has been sent to the printer."); }}using IronPdf;using Microsoft.AspNetCore.Mvc;public class PdfController : Controller{ public IActionResult PrintPdf() { // Assuming 'htmlContent' is the HTML string you want to print var htmlContent = "InvoiceThank you for your business!"; // Render the HTML content to a PDF in memory var renderer = new ChromePdfRenderer(); var pdf = renderer.RenderHtmlAsPdf(htmlContent); // Get the PrintDocument from the PDF var printDoc = pdf.GetPrintDocument(); // Set the printer name printDoc.PrinterSettings.PrinterName = "Your Printer Name"; // Replace with your printer's name // Optional: Set other printer settings // printDoc.PrinterSettings.Copies = 2; // printDoc.DefaultPageSettings.Landscape = true; // Print the document printDoc.Print(); // Return a response to the client, e.g., a confirmation message return Content("The document has been sent to the printer."); }}Imports IronPdfImports Microsoft.AspNetCore.MvcPublic Class PdfController Inherits Controller Public Function PrintPdf() As IActionResult ' Assuming 'htmlContent' is the HTML string you want to print Dim htmlContent = "InvoiceThank you for your business!" ' Render the HTML content to a PDF in memory Dim renderer = New ChromePdfRenderer() Dim pdf = renderer.RenderHtmlAsPdf(htmlContent) ' Get the PrintDocument from the PDF Dim printDoc = pdf.GetPrintDocument() ' Set the printer name printDoc.PrinterSettings.PrinterName = "Your Printer Name" ' Replace with your printer's name ' Optional: Set other printer
2025-04-02