製品比較 IronPDFとNReco .NET Coreの比較 カーティス・チャウ 更新日:7月 28, 2025 IronPDF をダウンロード NuGet ダウンロード DLL ダウンロード Windows 版 無料トライアル LLM向けのコピー LLM向けのコピー LLM 用の Markdown としてページをコピーする ChatGPTで開く このページについてChatGPTに質問する ジェミニで開く このページについてGeminiに問い合わせる ジェミニで開く このページについてGeminiに問い合わせる 困惑の中で開く このページについてPerplexityに問い合わせる 共有する Facebook で共有 Xでシェア(Twitter) LinkedIn で共有 URLをコピー 記事をメールで送る PDFを扱う際には、プロジェクトのニーズに合った最高のツールを使いたいですよね? しかし、PDFライブラリは非常に多く存在しているため、どれがあなたにとって最適か判断するのが難しいかもしれません。 今日は、IronPDFとNReco.PdfGeneratorという2つの著名なPDFライブラリに焦点を当てます。 彼らの機能、互換性、全体的なパフォーマンスを比較し、どのライブラリがあなたにとって最適かを判断する手助けをします。 IronPDFとNReco.PdfGeneratorの概要 IronPDFはHTMLからPDFへの変換に優れており、PDFファイルを扱うために豊富な機能を提供する包括的な.NETライブラリです。 IronPDFはHTML5、CSS3、JavaScriptなどの最新のWeb標準をサポートしており、高忠実なPDF生成を保証します。 .NETアプリケーションにシームレスに統合される直感的なAPIを提供し、ユーザーフレンドリーに設計されています。 NReco.PdfGenerator for .NETはHTMLからPDFへの変換に重点を置いたライブラリです。 これはWkHtmlToPdfコマンドラインツールに基づいており、HTMLコンテンツからPDFドキュメントを作成するために、レガシーQt WebKitレンダリングエンジンに依存しています。 Qt WebKitはもはや積極的にメンテナンスされておらず、最新のHTML5、CSS3、およびJavaScriptの機能に対するサポートが限られています。 このライブラリは使いやすさで知られており、WkHtmlToPdfバイナリを含む1つの.NETアセンブリだけで.NETプロジェクトに迅速に統合できます。 クロスプラットフォームの互換性 IronPDF IronPDF は、広範なクロスプラットフォーム互換性で際立っている。 .NET フレームワーク内の幅広い環境をサポートし、異なるプラットフォーム間でのシームレスな動作を保証します。 以下に IronPDF のプラットフォーム互換性の概要を示します。 .NET バージョン: 完全に C#、VB.NET、F# で書かれており、サポートしています。 .NET Core (8, 7, 6, 5, および 3.1+) .NET Standard 2.0+ .NET Framework 4.6.2+ アプリ環境: IronPDF は Windows、Linux、Mac、Docker、Azure、AWS などの様々なアプリ環境で動作します。 IDEs: Microsoft Visual Studio、JetBrains Rider & ReSharperなどのIDEで動作します。 OSとプロセッサー: Windows、Mac、Linux、x64、x86、ARMを含むさまざまなOS & プロセッサーをサポートしています。 IronPDFの互換性の詳細については、IronPDFの機能ページをご覧ください。 NReco.PdfGenerator .NET バージョン: .NET Standard 2.0+ .NET Framework 4.5+ .NET Core 2.0+ アプリケーション環境: NReco.PdfGeneratorはWindows、Linux、およびmacOSなどのさまざまな環境で動作します。 LinuxまたはmacOS上で作業する場合、動作するために必要な依存関係をインストールしていることを確認する必要があります。 Windows内で展開すると、.NET Coreアプリで使用できます。 主要機能の比較: IronPDFとNReco.PdfGeneratorのPDF機能 IronPDFの機能 PDF変換: IronPDFはHTMLをPDFに変換できます。 最新の Web 標準の完全なサポートにより、IronPDF は HTML コンテンツから常にピクセル パーフェクトな PDF を返すことが保証されています。 IronPDFはまた、DOCX、画像、RTFなどからPDFファイルを変換することもできます。 PDF生成: IronPDFを使用すると、URL、ASPXファイル、HTML文字列からPDFファイルを生成できます。 セキュリティ機能: IronPDFを使用すると、感度の高いPDFファイルがセキュアであることを常に確認でき、セキュリティ機能が提供されます。 IronPDFを使用してPDFファイルを暗号化し、パスワードを設定し、PDFファイルの権限を設定します。 PDF編集機能: IronPDFを使用すると、既存のPDFドキュメントを処理し、編集し、PDFファイルを簡単に読み取ることができます。 IronPDFは、ヘッダーとフッターの追加、テキストや画像のPDFページへのスタンプ、PDFカスタム透かしの追加、PDFフォームの利用、PDFファイルの分割やマージなどの編集機能を提供します。 統合: ASP.NETおよびMVCアプリケーションとシームレスに統合されます。 IronPDFの機能の包括的なリストについては、IronPDFの機能をご覧ください。 NReco.PdfGeneratorの機能 HTMLからPDFへの変換: HTML、CSS、および基本的なJavaScriptをPDFに変換します。WkHtmlToPdfとレガシーQt WebKitエンジンを使用しています(モダンウェブ標準サポートは限られています)。 PDFオプション: ページの向き、サイズ、マージン、ズームなど、さまざまなPDFオプションをサポートします。 テンプレート: ヘッダー、フッター、ページ番号付けのためのHTMLテンプレート。 コンテンツマージ: 複数のHTMLページを1つのPDFにマージします。 出力カスタマイズ: カスタムフォントとスタイルを使用してPDFの外観をカスタマイズします。 デプロイ: NReco.PdfGenerator.LTを使用して、Windowsおよび非Windows展開で利用可能。 IronPDFとNReco.PdfGeneratorのトップハイライト機能とのコードサンプルの比較 それでは、PDF文書を扱う際の一般的な使用例と、これらの2つのライブラリがそれらをどのように処理するかを詳しく見てみましょう。 HTMLからPDFへの変換 IronPDFの例: using IronPdf; // Enable web security settings such as disabling local disk access or cross-origin requests Installation.EnableWebSecurity = true; // Instantiate the renderer for creating PDFs var renderer = new ChromePdfRenderer(); // Create a PDF from an HTML string using C# var pdf = renderer.RenderHtmlAsPdf("<h1>Hello World</h1>"); // Export the PDF to a file pdf.SaveAs("output.pdf"); // Advanced Example with HTML Assets // Load external HTML assets: images, CSS, and JavaScript. // Example uses 'c:\site\assets\' as the base path for loading assets var myAdvancedPdf = renderer.RenderHtmlAsPdf("<img src='icons/iron.png'>", @"c:\site\assets\"); myAdvancedPdf.SaveAs("html-with-assets.pdf"); using IronPdf; // Enable web security settings such as disabling local disk access or cross-origin requests Installation.EnableWebSecurity = true; // Instantiate the renderer for creating PDFs var renderer = new ChromePdfRenderer(); // Create a PDF from an HTML string using C# var pdf = renderer.RenderHtmlAsPdf("<h1>Hello World</h1>"); // Export the PDF to a file pdf.SaveAs("output.pdf"); // Advanced Example with HTML Assets // Load external HTML assets: images, CSS, and JavaScript. // Example uses 'c:\site\assets\' as the base path for loading assets var myAdvancedPdf = renderer.RenderHtmlAsPdf("<img src='icons/iron.png'>", @"c:\site\assets\"); myAdvancedPdf.SaveAs("html-with-assets.pdf"); Imports IronPdf ' Enable web security settings such as disabling local disk access or cross-origin requests Installation.EnableWebSecurity = True ' Instantiate the renderer for creating PDFs Dim renderer = New ChromePdfRenderer() ' Create a PDF from an HTML string using C# Dim pdf = renderer.RenderHtmlAsPdf("<h1>Hello World</h1>") ' Export the PDF to a file pdf.SaveAs("output.pdf") ' Advanced Example with HTML Assets ' Load external HTML assets: images, CSS, and JavaScript. ' Example uses 'c:\site\assets\' as the base path for loading assets Dim myAdvancedPdf = renderer.RenderHtmlAsPdf("<img src='icons/iron.png'>", "c:\site\assets\") myAdvancedPdf.SaveAs("html-with-assets.pdf") $vbLabelText $csharpLabel NReco.PdfGeneratorの例: using System; using NReco.PdfGenerator; // Format HTML content with the current date and time var htmlContent = String.Format("<body>Hello world: {0}</body>", DateTime.Now); // Instantiate the HTML to PDF converter var htmlToPdf = new HtmlToPdfConverter(); // Generate the PDF from the HTML content var pdfBytes = htmlToPdf.GeneratePdf(htmlContent); using System; using NReco.PdfGenerator; // Format HTML content with the current date and time var htmlContent = String.Format("<body>Hello world: {0}</body>", DateTime.Now); // Instantiate the HTML to PDF converter var htmlToPdf = new HtmlToPdfConverter(); // Generate the PDF from the HTML content var pdfBytes = htmlToPdf.GeneratePdf(htmlContent); Imports System Imports NReco.PdfGenerator ' Format HTML content with the current date and time Private htmlContent = String.Format("<body>Hello world: {0}</body>", DateTime.Now) ' Instantiate the HTML to PDF converter Private htmlToPdf = New HtmlToPdfConverter() ' Generate the PDF from the HTML content Private pdfBytes = htmlToPdf.GeneratePdf(htmlContent) $vbLabelText $csharpLabel IronPDFは、HTML5、CSS3、およびJavaScriptの完全なサポートを備えた最新のChromiumレンダリングエンジン(Blink)のおかげで高忠実なレンダリングを提供します。 HTMLからPDFへの変換にIronPDFを使用する場合、HTMLドキュメント、ウェブページ、およびその他からピクセルパーフェクトなPDFを作成できます。 NReco.PdfGeneratorは、レガシーQt WebKitエンジンを備えたWkHtmlToPdfを使用しており、シンプルなHTMLに対する基本的なレンダリングを提供しますが、最新のウェブ標準に対するサポートが限られており、IronPDFのChromiumベースのレンダリング能力の精度に達しないかもしれません。 HTMLからPDFへの変換にIronPDFを使用した例の詳細については、IronPDF HTML to PDFをご覧ください。 PDFファイルの暗号化 IronPDFの例: using IronPdf; using System; // Open an encrypted file or 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 // Make the PDF read-only, disallow copying & pasting, and disallow 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 or 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 // Make the PDF read-only, disallow copying & pasting, and disallow 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"); Imports IronPdf Imports System ' Open an encrypted file or create a new PDF from HTML Private 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 ' Make the PDF read-only, disallow copying & pasting, and disallow 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") $vbLabelText $csharpLabel NReco.PdfGeneratorの例: NReco.PdfGeneratorはネイティブでPDF暗号化をサポートしておらず、このライブラリの主な関心事項はHTMLからPDFへの変換です。 IronPDFはPDFの暗号化を簡単でありながら強力なツールを提供します。 IronPDFを使用すると、セキュリティ設定の設定も含めて、プロセス全体を完全に制御できます。 NReco.PdfGeneratorはネイティブの暗号化機能を欠いているため、NReco.PdfGeneratorを使用してからPDFファイルを暗号化したい場合は、PDF暗号化を処理できる追加のライブラリが必要です。 より多くの暗号化例については、このトピックに関するIronPDF How-Toガイドをご覧ください。 PDFコンテンツの編集 IronPDFの例: using IronPdf; // Load the PDF document PdfDocument pdf = PdfDocument.FromFile("novel.pdf"); // Redact the word 'are' on all pages of the document pdf.RedactTextOnAllPages("are"); // Save the redacted PDF pdf.SaveAs("redacted.pdf"); using IronPdf; // Load the PDF document PdfDocument pdf = PdfDocument.FromFile("novel.pdf"); // Redact the word 'are' on all pages of the document pdf.RedactTextOnAllPages("are"); // Save the redacted PDF pdf.SaveAs("redacted.pdf"); Imports IronPdf ' Load the PDF document Private pdf As PdfDocument = PdfDocument.FromFile("novel.pdf") ' Redact the word 'are' on all pages of the document pdf.RedactTextOnAllPages("are") ' Save the redacted PDF pdf.SaveAs("redacted.pdf") $vbLabelText $csharpLabel NReco.PdfGeneratorの例: NReco.PdfGeneratorはネイティブでテキストの編集をサポートしていません。 ほんの数行のコードを要するだけで、IronPDFは簡潔で使いやすい編集ツールを提供します。 そのシンプルさゆえに、IronPDFの編集機能を使用することで、作業空間の効率を即座に向上できると確信できます。 NReco.PdfGeneratorは、PDFの赤削除に対するネイティブサポートがないため、赤削除プロセスを処理するために追加の外部ライブラリが必要です。 より多くの編集例については、このトピックに関するIronPDFのHow-Toガイドをご覧ください。 PDF文書への署名 IronPDFの例: using IronPdf; using IronPdf.Signing; using System.Security.Cryptography.X509Certificates; // Instantiate the Chrome PDF Renderer ChromePdfRenderer renderer = new ChromePdfRenderer(); // Render HTML as PDF PdfDocument pdf = renderer.RenderHtmlAsPdf("<h1>foo</h1>"); // Create X509Certificate2 object with the Exportable flag set X509Certificate2 cert = new X509Certificate2("IronSoftware.pfx", "123456", X509KeyStorageFlags.Exportable); // Create PdfSignature object and sign the PDF document var sig = new PdfSignature(cert); pdf.Sign(sig); // Save the signed PDF pdf.SaveAs("signed.pdf"); using IronPdf; using IronPdf.Signing; using System.Security.Cryptography.X509Certificates; // Instantiate the Chrome PDF Renderer ChromePdfRenderer renderer = new ChromePdfRenderer(); // Render HTML as PDF PdfDocument pdf = renderer.RenderHtmlAsPdf("<h1>foo</h1>"); // Create X509Certificate2 object with the Exportable flag set X509Certificate2 cert = new X509Certificate2("IronSoftware.pfx", "123456", X509KeyStorageFlags.Exportable); // Create PdfSignature object and sign the PDF document var sig = new PdfSignature(cert); pdf.Sign(sig); // Save the signed PDF pdf.SaveAs("signed.pdf"); Imports IronPdf Imports IronPdf.Signing Imports System.Security.Cryptography.X509Certificates ' Instantiate the Chrome PDF Renderer Private renderer As New ChromePdfRenderer() ' Render HTML as PDF Private pdf As PdfDocument = renderer.RenderHtmlAsPdf("<h1>foo</h1>") ' Create X509Certificate2 object with the Exportable flag set Private cert As New X509Certificate2("IronSoftware.pfx", "123456", X509KeyStorageFlags.Exportable) ' Create PdfSignature object and sign the PDF document Private sig = New PdfSignature(cert) pdf.Sign(sig) ' Save the signed PDF pdf.SaveAs("signed.pdf") $vbLabelText $csharpLabel NReco.PdfGeneratorの例: NReco.PdfGeneratorはネイティブでデジタル署名をサポートしていません。 IronPDFのデジタル署名機能は、PDFの署名を自動化する簡単な方法を提供します。 そのシンプルなAPIは、署名プロセスを完全に制御することを可能にし、頻繁にPDFに署名する場合でも作業を楽にします。 NReco.PdfGeneratorはPDFのデジタル署名をサポートしておらず、これを行うためにiTextSharpなどのサードパーティライブラリを利用することが必要です。 より多くの署名例については、このトピックに関するIronPDF How-Toガイドをご覧ください。 PDFページにウォーターマークを適用する IronPDFの例: using IronPdf; // Instantiate the renderer and render a PDF from a URL var renderer = new ChromePdfRenderer(); var pdf = renderer.RenderUrlAsPdf("https://www.nuget.org/packages/IronPdf"); // Apply an HTML-based watermark to the PDF pdf.ApplyWatermark("<h2 style='color:red'>SAMPLE</h2>", 30, IronPdf.Editing.VerticalAlignment.Middle, IronPdf.Editing.HorizontalAlignment.Center); // Save the watermarked PDF pdf.SaveAs(@"C:\Path\To\Watermarked.pdf"); using IronPdf; // Instantiate the renderer and render a PDF from a URL var renderer = new ChromePdfRenderer(); var pdf = renderer.RenderUrlAsPdf("https://www.nuget.org/packages/IronPdf"); // Apply an HTML-based watermark to the PDF pdf.ApplyWatermark("<h2 style='color:red'>SAMPLE</h2>", 30, IronPdf.Editing.VerticalAlignment.Middle, IronPdf.Editing.HorizontalAlignment.Center); // Save the watermarked PDF pdf.SaveAs(@"C:\Path\To\Watermarked.pdf"); Imports IronPdf ' Instantiate the renderer and render a PDF from a URL Private renderer = New ChromePdfRenderer() Private pdf = renderer.RenderUrlAsPdf("https://www.nuget.org/packages/IronPdf") ' Apply an HTML-based watermark to the PDF pdf.ApplyWatermark("<h2 style='color:red'>SAMPLE</h2>", 30, IronPdf.Editing.VerticalAlignment.Middle, IronPdf.Editing.HorizontalAlignment.Center) ' Save the watermarked PDF pdf.SaveAs("C:\Path\To\Watermarked.pdf") $vbLabelText $csharpLabel NReco.PdfGeneratorの例: NReco.PdfGeneratorはネイティブでのウォーターマーク機能をサポートしていません。 HTMLおよびCSSに精通していると、IronPDFのウォーターマークツールを使用する際に役立ちます。 ウォーターマーク処理を完全に制御できます。 ウォーターマークの取り扱いが直感的で学びやすいため、あっという間に熟達した気分になるでしょう。 NReco.PdfGeneratorを使用して新たに変換したPDFファイルにウォーターマークを付けたい場合、PDFSharpなどの外部ライブラリをインストールする必要があります。 より多くのウォーターマーク例については、このトピックに関するIronPDF How-Toガイドをご覧ください。 PDFファイルへのテキストと画像のスタンプ IronPDFの例: using IronPdf; using IronPdf.Editing; // Instantiate the renderer and render a PDF from HTML ChromePdfRenderer renderer = new ChromePdfRenderer(); PdfDocument pdf = renderer.RenderHtmlAsPdf("<h1>Example HTML Document!</h1>"); // Create a text stamper and customize its settings TextStamper textStamper = new TextStamper() { Text = "Text Stamper!", FontFamily = "Bungee Spice", UseGoogleFont = true, FontSize = 30, IsBold = true, IsItalic = true, VerticalAlignment = VerticalAlignment.Top, }; // Apply text stamp to the PDF pdf.ApplyStamp(textStamper); pdf.SaveAs("stampText.pdf"); using IronPdf; using IronPdf.Editing; // Instantiate the renderer and render a PDF from HTML ChromePdfRenderer renderer = new ChromePdfRenderer(); PdfDocument pdf = renderer.RenderHtmlAsPdf("<h1>Example HTML Document!</h1>"); // Create a text stamper and customize its settings TextStamper textStamper = new TextStamper() { Text = "Text Stamper!", FontFamily = "Bungee Spice", UseGoogleFont = true, FontSize = 30, IsBold = true, IsItalic = true, VerticalAlignment = VerticalAlignment.Top, }; // Apply text stamp to the PDF pdf.ApplyStamp(textStamper); pdf.SaveAs("stampText.pdf"); Imports IronPdf Imports IronPdf.Editing ' Instantiate the renderer and render a PDF from HTML Private renderer As New ChromePdfRenderer() Private pdf As PdfDocument = renderer.RenderHtmlAsPdf("<h1>Example HTML Document!</h1>") ' Create a text stamper and customize its settings Private textStamper As New TextStamper() With { .Text = "Text Stamper!", .FontFamily = "Bungee Spice", .UseGoogleFont = True, .FontSize = 30, .IsBold = True, .IsItalic = True, .VerticalAlignment = VerticalAlignment.Top } ' Apply text stamp to the PDF pdf.ApplyStamp(textStamper) pdf.SaveAs("stampText.pdf") $vbLabelText $csharpLabel using IronPdf; using IronPdf.Editing; using System; // Instantiate the renderer and render a PDF from HTML ChromePdfRenderer renderer = new ChromePdfRenderer(); PdfDocument pdf = renderer.RenderHtmlAsPdf("<h1>Example HTML Document!</h1>"); // Create an image stamper with specific settings ImageStamper imageStamper = new ImageStamper(new Uri("https://ironpdf.com/img/svgs/iron-pdf-logo.svg")) { VerticalAlignment = VerticalAlignment.Top, }; // Apply image stamp to the PDF pdf.ApplyStamp(imageStamper, 0); pdf.SaveAs("stampImage.pdf"); using IronPdf; using IronPdf.Editing; using System; // Instantiate the renderer and render a PDF from HTML ChromePdfRenderer renderer = new ChromePdfRenderer(); PdfDocument pdf = renderer.RenderHtmlAsPdf("<h1>Example HTML Document!</h1>"); // Create an image stamper with specific settings ImageStamper imageStamper = new ImageStamper(new Uri("https://ironpdf.com/img/svgs/iron-pdf-logo.svg")) { VerticalAlignment = VerticalAlignment.Top, }; // Apply image stamp to the PDF pdf.ApplyStamp(imageStamper, 0); pdf.SaveAs("stampImage.pdf"); Imports IronPdf Imports IronPdf.Editing Imports System ' Instantiate the renderer and render a PDF from HTML Private renderer As New ChromePdfRenderer() Private pdf As PdfDocument = renderer.RenderHtmlAsPdf("<h1>Example HTML Document!</h1>") ' Create an image stamper with specific settings Private imageStamper As New ImageStamper(New Uri("https://ironpdf.com/img/svgs/iron-pdf-logo.svg")) With {.VerticalAlignment = VerticalAlignment.Top} ' Apply image stamp to the PDF pdf.ApplyStamp(imageStamper, 0) pdf.SaveAs("stampImage.pdf") $vbLabelText $csharpLabel NReco.PdfGeneratorの例: NReco.PdfGeneratorはネイティブでのHTMLスタンプをサポートしていません。 IronPDFは強力なテキストと画像スタンプツールを提供しています。 HTMLとCSSに似たアプローチで、スタンププロセスを完全に制御できます。 対照的に、NReco.PdfGeneratorは、iTextSharpまたはPDFSharpなどの外部ライブラリが、あなたの新たに変換したPDFドキュメントにテキストと画像をスタンプするために必要です。 より多くのスタンプ例については、このトピックに関するIronPDF How-Toガイドをご覧ください。 DOCXからPDF変換 IronPDFの例: using IronPdf; // Instantiate the DOCX to PDF Renderer DocxToPdfRenderer renderer = new DocxToPdfRenderer(); // Render a DOCX file as PDF PdfDocument pdf = renderer.RenderDocxAsPdf("Modern-chronological-resume.docx"); // Save the converted PDF pdf.SaveAs("pdfFromDocx.pdf"); using IronPdf; // Instantiate the DOCX to PDF Renderer DocxToPdfRenderer renderer = new DocxToPdfRenderer(); // Render a DOCX file as PDF PdfDocument pdf = renderer.RenderDocxAsPdf("Modern-chronological-resume.docx"); // Save the converted PDF pdf.SaveAs("pdfFromDocx.pdf"); Imports IronPdf ' Instantiate the DOCX to PDF Renderer Private renderer As New DocxToPdfRenderer() ' Render a DOCX file as PDF Private pdf As PdfDocument = renderer.RenderDocxAsPdf("Modern-chronological-resume.docx") ' Save the converted PDF pdf.SaveAs("pdfFromDocx.pdf") $vbLabelText $csharpLabel NReco.PdfGeneratorの例: NReco.PdfGeneratorはネイティブでDOCXからPDFへの変換をサポートしていません。 IronPDFを使用すると、DOCXファイルをわずか数行のコードでPDF形式に変換できます。 このツールは実装プロセスを簡素化し、品質を損なうことなく効率的な作業空間を確保します。 NReco.PdfGeneratorではDOCXからPDFへの変換を実行することはできません。このライブラリは主にHTMLからPDFへの変換に特化しています。 DOCXからPDFへの変換を処理するためには、Apsose.Wordsなどの追加のライブラリが必要です。 より多くのDOCXからPDFへの例については、このトピックに関するIronPDF How-Toガイドをご覧ください。 機能比較の概要 価格とライセンス: IronPDF vs. NReco.PdfGenerator IronPDFの価格とライセンス IronPDFはライセンス購入に応じて異なるレベルと追加機能があります。 開発者はまた、Iron Suiteを購入することで、Iron Softwareの製品すべてに、2つの価格でアクセスできます。 ライセンスを購入する準備ができていない場合、IronPDFは30日間利用できる無料トライアルを提供しています。 永久ライセンス: チームの規模、プロジェクトの要件、場所の数に応じて、さまざまな永久ライセンスを提供します。 各ライセンスタイプには電子メールサポートが付属しています。 Lite License: このライセンスは$799の価格で、1人の開発者、1つの場所、1つのプロジェクトをサポートします。 Plusライセンス: 3人の開発者、3か所、3つのプロジェクトをサポートするこのライセンスは、ライセンス料金の中段に位置し、$1,199です。 Plusライセンスは、基本的なメールサポートに加えて、チャットサポートと電話サポートを提供します。 Professional License: 10人の開発者、10か所、10のプロジェクトをサポートするためのより大きなチームに適しています。費用は$2,399です。 前のレベルと同じコンタクトサポートチャンネルを提供しますが、画面共有サポートも提供します。 ロイヤルティーフリーの再配布: IronPDFのライセンスは、追加の$2,399をカバーするロイヤルティーフリーの再配布を提供します。 途切れのない製品サポート: 継続的な製品更新、セキュリティ機能アップグレード、およびエンジニアリングチームからのサポートに、年間$1,199または5年間カバレッジの$2,399の一時払いでアクセスできます。 Iron Suite: $1,498で、IronPDF、IronOCR、IronWord、IronXL、IronBarcode、IronQR、IronZIP、IronPrint、IronWebScraperを含むIron Softwareのすべての製品にアクセスできます。 NReco.PdfGenerator 無料版: NReco.PdfGeneratorは無料のオンラインHTMLからPDFコンバーターを提供します。 企業向けソースコードパック: NRecoは、$199でPDF Generator企業向けソースパックを提供しており、再配布のための商用ライセンス、拡張API/NReco.PdfGenerator LT NuGetパッケージ版のライセンスキー、1年のメールサポート、およびソースコードZIPファイルへのアクセスを含みます。 ドキュメントとサポート: IronPDF vs. NReco.PdfGenerator IronPDF IronPDF は広範なドキュメントとサポートを提供しています: 包括的なドキュメント: すべての機能を網羅したユーザーフレンドリーなドキュメントを提供 24/5 サポート: アクティブなエンジニアサポートが利用可能です。 ビデオチュートリアル: YouTubeでステップバイステップのビデオガイドが利用可能です。 コミュニティフォーラム: 追加サポートのための活発なコミュニティ。 定期的な更新: 最新の機能とセキュリティパッチを保証する月次製品更新。 詳細については、IronPDFの広範なドキュメントを確認し、Iron Software YouTubeチャンネルをご覧ください。 NReco.PdfGenerator APIリファレンス: そのAPIについてのドキュメンテーションを提供しており、どのように異なる側面が機能するかを学ぶことができます。 連絡先: 問題や質問があれば、ウェブサイトでNRecoチームのすべての連絡先情報を簡単に見つけて、簡単に連絡を取ることができます。 モダンCSSフレームワークサポート IronPDFとNReco.PdfGeneratorの重要な違いの1つは、Bootstrap、Tailwind CSS、Foundationなどの最新のCSSフレームワークに対するサポートです。 IronPDF: フルBootstrapサポート IronPDF の Chromium レンダリングエンジンは、最新の CSS フレームワークを完全にサポートします: Bootstrap 5: レスポンシブレイアウトのためのフルフレックスボックスとCSSグリッドサポート 複雑なレイアウト: BootstrapのホームページやBootstrapテンプレートをピクセルパーフェクトにレンダリング モダンな機能: CSS3アニメーション、変形、トランジションやメディアクエリ CSSフレームワーク: Bootstrap, Tailwind CSS, Foundation, Bulmaがすべてシームレスに動作 コード例: Bootstrapコンテンツのレンダリング using IronPdf; // Render a Bootstrap 5 layout var renderer = new ChromePdfRenderer(); // Example: Bootstrap responsive card grid string bootstrapHtml = @" <!DOCTYPE html> <html> <head> <link href='https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css' rel='stylesheet'> </head> <body> <div class='container mt-5'> <h1 class='mb-4'>Product Catalog</h1> <div class='row g-4'> <div class='col-lg-4 col-md-6'> <div class='card h-100 shadow'> <div class='card-body d-flex flex-column'> <h5 class='card-title'>Product A</h5> <p class='card-text flex-grow-1'>Modern flexbox-based card layout with Bootstrap 5.</p> <button class='btn btn-primary mt-auto'>Learn More</button> </div> </div> </div> <div class='col-lg-4 col-md-6'> <div class='card h-100 shadow'> <div class='card-body d-flex flex-column'> <h5 class='card-title'>Product B</h5> <p class='card-text flex-grow-1'>Responsive grid adapts to screen size.</p> <button class='btn btn-primary mt-auto'>Learn More</button> </div> </div> </div> <div class='col-lg-4 col-md-6'> <div class='card h-100 shadow'> <div class='card-body d-flex flex-column'> <h5 class='card-title'>Product C</h5> <p class='card-text flex-grow-1'>CSS3 features fully supported.</p> <button class='btn btn-primary mt-auto'>Learn More</button> </div> </div> </div> </div> </div> </body> </html>"; var pdf = renderer.RenderHtmlAsPdf(bootstrapHtml); pdf.SaveAs("bootstrap-catalog.pdf"); using IronPdf; // Render a Bootstrap 5 layout var renderer = new ChromePdfRenderer(); // Example: Bootstrap responsive card grid string bootstrapHtml = @" <!DOCTYPE html> <html> <head> <link href='https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css' rel='stylesheet'> </head> <body> <div class='container mt-5'> <h1 class='mb-4'>Product Catalog</h1> <div class='row g-4'> <div class='col-lg-4 col-md-6'> <div class='card h-100 shadow'> <div class='card-body d-flex flex-column'> <h5 class='card-title'>Product A</h5> <p class='card-text flex-grow-1'>Modern flexbox-based card layout with Bootstrap 5.</p> <button class='btn btn-primary mt-auto'>Learn More</button> </div> </div> </div> <div class='col-lg-4 col-md-6'> <div class='card h-100 shadow'> <div class='card-body d-flex flex-column'> <h5 class='card-title'>Product B</h5> <p class='card-text flex-grow-1'>Responsive grid adapts to screen size.</p> <button class='btn btn-primary mt-auto'>Learn More</button> </div> </div> </div> <div class='col-lg-4 col-md-6'> <div class='card h-100 shadow'> <div class='card-body d-flex flex-column'> <h5 class='card-title'>Product C</h5> <p class='card-text flex-grow-1'>CSS3 features fully supported.</p> <button class='btn btn-primary mt-auto'>Learn More</button> </div> </div> </div> </div> </div> </body> </html>"; var pdf = renderer.RenderHtmlAsPdf(bootstrapHtml); pdf.SaveAs("bootstrap-catalog.pdf"); IRON VB CONVERTER ERROR developers@ironsoftware.com $vbLabelText $csharpLabel 上記のコードはIronPDFで完璧にレンダリングし、Bootstrapスタイリングやレスポンシブ要素を保持します。 NReco.PdfGenerator: 限られたBootstrapサポート NReco.PdfGeneratorは、最新のCSSフレームワークにおけるWkHtmlToPdfとレガシーQt WebKitエンジンを使用しており、重大な制限があります: フレックスボックスのサポートなし: Bootstrap 4+ はフレックスボックスに大きく依存していますが、Qt WebKit は完全にはサポートしていません 制限されたCSSグリッド: 現代のグリッドレイアウトは正しくレンダリングされません 時代遅れ: Qt WebKit は 2016 年に最後に更新されており、最新の CSS3 機能をサポートしていません 回避策を必要とする: 開発者は古い Bootstrap バージョン (Bootstrap 3 以前) を使用するか、またはテーブルベースのフォールバックを実装する必要があります CSS フレームワークサポートの詳細およびフレックスボックス/Bootstrap のレンダリング問題を解決するための記事については、Bootstrap & Flexbox CSS ガイド をご覧ください。 結論 IronPDFとNReco.PdfGeneratorは、HTMLからPDFへの変換ニーズにおける強力な候補です。 しかし、HTMLからPDFへの変換だけでなく、豊富な機能セットを備えたツールが必要であれば、IronPDFがあなたに最適です。 広範な機能セット、簡単な学習曲線、最新のウェブ標準とクロスプラットフォーム互換性への広範なサポートにより、IronPDFはワークスペースへの強力な追加となります。 NReco.PdfGeneratorは、基本的なHTMLからPDFへの変換に信頼できる一方で、IronPDFによって提供される多くの高度な機能が欠けています。 30 日間無料トライアルを試して、利用可能な機能をチェックできます。 NReco.PdfGeneratorは各所有者の登録商標です。 このサイトはNReco.PdfGeneratorとは提携していません、承認もされておらず、スポンサーシップも受けていません。 すべての製品名、ロゴ、およびブランドは各所有者の所有物です。 比較は情報提供のみを目的としており、執筆時点で公開されている情報を反映しています。 よくある質問 C# で HTML を PDF に変換するにはどうすればいいですか? IronPDFの RenderHtmlAsPdf メソッドを使用して、HTML文字列をPDFに変換できます。また、IronPDFを使用してRenderHtmlFileAsPdf メソッドでHTMLファイルをPDFに変換することもできます。 IronPDFとNReco.PdfGeneratorの主な違いは何ですか? IronPDFは、HTMLからPDFへの変換、PDFの編集、セキュリティオプション、デジタル署名を含む幅広い機能を提供し、PDF操作において包括的なツールです。それに対して、NReco.PdfGeneratorは主にWkHtmlToPdfツールを使用したHTMLからPDFへの変換に焦点を当てており、高度な機能は多くありません。 これらのPDFライブラリを異なるオペレーティングシステムで利用できますか? はい、IronPDFとNReco.PdfGeneratorはクロスプラットフォーム互換性をサポートしています。IronPDFはWindows、Linux、macOSで使用でき、.NET Core、.NET Standard、.NET Frameworkをサポートしています。同様に、NReco.PdfGeneratorもWindows、Linux、macOSプラットフォームをサポートしています。 IronPDFはPDFの暗号化とデジタル署名をサポートしていますか? はい、IronPDFはPDFの暗号化とデジタル署名に堅固な機能を提供します。これにより、開発者はPDFファイルをセキュリティ保護し、認証目的でデジタル署名を追加することができます。 IronPDFのライセンスオプションはどのようになっていますか? IronPDFは、Lite、Plus、およびProfessionalのライセンスを含む複数のライセンスオプションを提供しています。また、Iron Softwareのすべての製品にアクセスできるIron Suiteがあり、評価用に30日間の無料トライアルも利用可能です。 NReco.PdfGeneratorの無料バージョンはありますか? はい、NReco.PdfGeneratorは無料のオンラインHTMLからPDFへのコンバーターを提供しています。より広範な利用には、エンタープライズのソースコードパックが購入可能です。 どちらのライブラリがより良いサポートとドキュメントを提供していますか? IronPDFは、幅広いドキュメント、ビデオチュートリアル、24/5カスタマーサポート、コミュニティフォーラム、定期的なソフトウェア更新を提供しています。NReco.PdfGeneratorはAPIドキュメントとサポートの連絡先を提供しています。 IronPDFはDOCXファイルをPDFに変換できますか? はい、IronPDFはDOCXファイルをPDF形式に変換でき、高品質で変換中に文書の完全性を維持します。 HTML から PDF への変換で IronPDF を使用する利点は何ですか? IronPDFは、高精度なPDFレンダリングのために最新のWeb標準をサポートしており、ピクセル完璧なPDFを保証します。また、HTML資産のロードや包括的なPDFセキュリティ設定などの機能を含み、HTMLからPDFへの変換において堅固な選択肢となっています。 NReco.PdfGeneratorはPDFの墨消しや透かし機能をサポートしていますか? いいえ、NReco.PdfGeneratorはネイティブでPDFの墨消しや透かし機能をサポートしていません。ただし、IronPDFはこれらの機能を内蔵しており、PDFドキュメントの墨消しや透かしを容易に行うことができます。 IronPDFとNReco.PdfGeneratorの一般的な使用例は何ですか? IronPDFは、HTMLからPDFへの変換、PDFの暗号化、デジタル署名、既存のPDFの編集に一般的に使用されます。NReco.PdfGeneratorは主にHTMLコンテンツをPDF形式に変換するために使用されます。 カーティス・チャウ 今すぐエンジニアリングチームとチャット テクニカルライター Curtis Chauは、カールトン大学でコンピュータサイエンスの学士号を取得し、Node.js、TypeScript、JavaScript、およびReactに精通したフロントエンド開発を専門としています。直感的で美しいユーザーインターフェースを作成することに情熱を持ち、Curtisは現代のフレームワークを用いた開発や、構造の良い視覚的に魅力的なマニュアルの作成を楽しんでいます。開発以外にも、CurtisはIoT(Internet of Things)への強い関心を持ち、ハードウェアとソフトウェアの統合方法を模索しています。余暇には、ゲームをしたりDiscordボットを作成したりして、技術に対する愛情と創造性を組み合わせています。 関連する記事 公開日 12月 18, 2025 .NET Core開発で最大の価値を提供するASP PDFライブラリは? ASP.NET Core アプリケーションに最適な PDF ライブラリを発見しよう。IronPDF の Chrome エンジンを Aspose および Syncfusion の代替案と比較します。 詳しく読む 公開日 12月 3, 2025 IronPDF vs iTextSharp PDFドキュメントのヘッダーとフッター付きHTML to PDF PDFにヘッダーとフッターを追加するためのiTextSharpとIronPDFを比較します。コード例、ページ番号、HTMLヘッダーの実装。 詳しく読む 公開日 12月 3, 2025 iTextSharp HTML to PDFの "Document Has No Pages "エラーをIronPDFで解決 iTextSharp HTML to PDFでは、解析に失敗したときにページエラーが発生しません。XMLWorkerが同じ問題を抱えている理由を知り、HTML変換のためのIronPDFの信頼できるソリューションを発見してください。 詳しく読む IronPDFとInnovasys Document!Xの比較IronPDFとPDFShiftの比較
公開日 12月 18, 2025 .NET Core開発で最大の価値を提供するASP PDFライブラリは? ASP.NET Core アプリケーションに最適な PDF ライブラリを発見しよう。IronPDF の Chrome エンジンを Aspose および Syncfusion の代替案と比較します。 詳しく読む
公開日 12月 3, 2025 IronPDF vs iTextSharp PDFドキュメントのヘッダーとフッター付きHTML to PDF PDFにヘッダーとフッターを追加するためのiTextSharpとIronPDFを比較します。コード例、ページ番号、HTMLヘッダーの実装。 詳しく読む
公開日 12月 3, 2025 iTextSharp HTML to PDFの "Document Has No Pages "エラーをIronPDFで解決 iTextSharp HTML to PDFでは、解析に失敗したときにページエラーが発生しません。XMLWorkerが同じ問題を抱えている理由を知り、HTML変換のためのIronPDFの信頼できるソリューションを発見してください。 詳しく読む