IronPDFとApryse C#の比較
IronPDF と Apryse C# PDF ライブラリを比較する理由は何ですか?
IronPDF と Apryse C# はそれぞれ独自の長所を備えた著名な .NET PDF ライブラリです。 IronPDF は、完全な Bootstrap サポートと広範な編集機能を備え、 HTML から PDF への変換に優れています。 一方、Apryse はドキュメントの注釈付けと編集を専門とし、企業のコンプライアンス ニーズに応えています。
C# 開発者は、ドキュメントを生成、編集、表示するアプリケーションを構築するときに、PDF 関連のタスクに直面することがよくあります。 信頼できる PDF ライブラリは効率化に不可欠です。 これらのライブラリには、ドキュメントの変換、テキストの編集、 PDF 内の画像の処理などの複雑な操作のための組み込み関数が用意されています。 これらがなければ、すべての機能を最初から記述する必要があり、時間がかかり、エラーが発生しやすくなります。
この比較では、2 つの一般的な PDF ライブラリ、 IronPDFとApryse C#について説明します。 IronPDF は、HTML から PDF への変換から高度なドキュメント編集まで、 .NET 環境での PDF 操作を簡素化する信頼性の高い機能を提供します。 Apryse C# は、効率性と使いやすさを重視し、PDF 操作への直接的なアプローチを提供します。 この分析では、各ライブラリの特定の機能を調査し、プロジェクトに最適なものを決定するのに役立ちます。
Apryse C# PDF ライブラリとは何ですか?
Apryseのホームページでは、コンピューターのモニターに表示されるコードエディターとドキュメントビューアーインターフェースを備えたドキュメント処理SDKを紹介しています。
Apryse C#は、C# 環境内での PDF 操作を簡素化するように設計された、.NET アプリケーション用の完全な PDF ライブラリです。 以前は PDFTron SDK として知られていましたが、正確な PDF 処理機能を求める開発者向けに幅広い機能とツールを提供します。
Apryse C# が提供する主な機能は何ですか?
- .NET プロジェクトとの簡単な統合: ASP.NET Coreや従来の .NET Framework アプリケーションを含む .NET とのスムーズな統合。 -ドキュメントの作成と編集: PDF を最初から作成したり、テキスト、画像、フォーム、ページ操作 (並べ替え、結合、分割)を含む既存の PDF を編集したりできます。
- HTML から PDF への変換:請求書、レポート、Web ページのドキュメント用の HTML コンテンツを PDF 形式に直接変換します。 -広範なフォーム フィールドのサポート:自動化されたワークフローのための信頼性の高いPDF フォーム フィールドの作成、編集、プログラムによる入力。 -テキストとコンテンツの抽出:分析、検索ツール、コンテンツ管理のために PDF からテキストとコンテンツを抽出します。 -セキュリティと暗号化:ドキュメントの暗号化、権限管理、デジタル署名などの完全なセキュリティ。 -高度な PDF 機能:インタラクティブ PDF の注釈、ブックマーク、ハイパーリンクをサポートします。
IronPDF C# ライブラリとは何ですか?
! IronPDF ホームページでは、NuGet インストール コマンドを使用して HTML から PDF への変換を行う C# コード例を示しています。
IronPDFは、.NET 開発者向けにカスタマイズされた多目的 PDF ライブラリです。 複雑な PDF 操作を簡素化し、C# アプリケーション内で直接 PDF ドキュメントを作成、編集、変換できるようになります。 IronPDF は、Java、Python、C# などの複数のプログラミング言語で利用でき、効率性と信頼性により多様な PDF 処理ニーズに応えます。
IronPDF が提供する主な機能は何ですか?
-スムーズな .NET 統合: ASP.NET プロジェクトを含む.NET Frameworkと.NET Core の両方をサポートする簡単な統合。
- HTML から PDF への変換: HTML を高品質で PDF に変換します。HTML テンプレートからのレポート、領収書、ドキュメントに最適です。 -高度な PDF 編集:テキスト、画像、ベクター グラフィックの追加を含む広範な編集機能。
- PDF フォーム処理:自動化されたドキュメント ワークフローのために、プログラムでPDF フォームを作成、編集、入力できます。 -コンテンツ抽出:コンテンツ分析とデータ移行のためにテキスト、画像、メタデータを抽出します。 -ドキュメントのセキュリティ:パスワード保護、暗号化、および権限管理。 -パフォーマンスとスケーラビリティ:需要の高いアプリケーションでの速度と大量処理を向上します。 -完全なドキュメント:広範なドキュメントと、実装を支援する対応力の高いサポート チーム。
- PDF 標準の互換性: PDF/A 、 PDF/UA 、およびその他の業界仕様をサポートします。
C# コンソール アプリケーションを作成するにはどうすればよいですか?
Visual Studio でコンソール アプリケーションを作成すると、IronPDF や Apryse C# などの PDF ライブラリを使用するプロジェクトを含む .NET 開発プロジェクトの基盤が確立されます。 開始するには、以下の手順に従ってください:
Visual Studio を起動するにはどうすればいいですか?
コンピュータでVisual Studioを開きます。 Visual Studio をまだインストールしていない場合は、Microsoft の公式 Web サイトからダウンロードしてインストールし、ニーズに合った適切なバージョンを選択してください。
新しいプロジェクトを作成するにはどうすればよいですか?
Visual Studio が開いたら、最初のダッシュボードから"新しいプロジェクトの作成"を選択します。
どのプロジェクトタイプを選択すればよいですか?
"新しいプロジェクトの作成"ウィンドウには、さまざまなプロジェクト テンプレートが表示されます。 検索ボックスに"コンソール"と入力するか、リストから"コンソールアプリケーション"を見つけます。C#専用のテンプレートを選択します。
プロジェクトを構成するにはどうすればよいですか?
"コンソールアプリケーション"を選択したら、"次へ"をクリックします。新しいプロジェクトを構成します。
-プロジェクト名:プロジェクトのわかりやすい名前を入力します。 -場所:希望する保存場所を選択します。 -ソリューション名:デフォルトではプロジェクト名になりますが、カスタマイズできます。
-フレームワーク: .NET バージョンを選択します。 特定の要件で別途指示がない限り、通常は最新バージョンが推奨されます。
! コンソールアプリケーション構成画面には、トップレベルのステートメントとネイティブ AOT 公開のオプションを含む .NET 8.0 フレームワークの選択が表示されています。
プロジェクトの作成を完了するにはどうすればよいですか?
プロジェクト設定を構成したら、"作成"をクリックします。Visual Studio は、既定のProgram.csファイルを使用して新しいコンソール アプリケーション プロジェクトを設定します。
プロジェクト構造とは何ですか?
ソリューション エクスプローラー ペインで生成されたプロジェクト構造を確認します。 コンソール アプリケーションの場合は主にProgram.csファイルで作業し、そこで C# コードを記述します。
IronPDF ライブラリをインストールするにはどうすればいいですか?
IronPDF を .NET プロジェクトに統合すると、完全な PDF 操作機能を使用できるようになります。 いくつかのインストール方法により、ワークフローの設定に基づいた柔軟性が提供されます。
NuGet パッケージ マネージャーを使用してインストールするにはどうすればよいですか?
Visual Studio のNuGet パッケージ マネージャーは、ライブラリを管理するためのグラフィカル インターフェイスを提供します。
- Visual Studioでプロジェクトを開きます。
- ソリューション エクスプローラーでプロジェクトを右クリックし、"NuGet パッケージの管理"を選択します。
- "参照"タブをクリックし、"IronPdf"を検索します。
- 結果から IronPDF を選択し、"インストール"をクリックします。
コマンドラインを使用してインストールするにはどうすればよいですか?
パッケージ マネージャー コンソールでは、直接のコマンド ライン インストールが提供されます。
- Visual Studioプロジェクトを開きます。
- [ツール] > [NuGetパッケージマネージャー] > [パッケージマネージャーコンソール]へ進みます。
- 次のコマンドを入力します。
Install-Package IronPdf
このコマンドは、最新の IronPDF バージョンをプロジェクトにインストールします。
NuGet から直接ダウンロードするにはどうすればよいですか?
統合前にパッケージを手動でダウンロードできます。
- NuGet のウェブサイトにアクセスし、"IronPDF"を検索します。
- IronPdf パッケージ ページで、"パッケージのダウンロード"をクリックして .nupkg ファイルを取得します。
- ソリューション エクスプローラー > プロジェクトを右クリック > "追加 > 参照"から、ダウンロードしたパッケージを手動で追加します。
いずれの方法でも IronPDF が正常に統合され、効果的な PDF 処理機能を使用できるようになります。
Apryse C# をインストールするにはどうすればよいですか?
Apryse C# をプロジェクトに統合する方法は、.NET Framework または .NET Core 環境によって異なります。 次の手順は、一般的なインストール プロセスの概要を示します。
Apryse for .NET Framework をインストールするにはどうすればよいですか?
- Windows 用 Apryse SDK をダウンロードします。.NET Framework アプリケーションに適した SDK をダウンロードするには、 Windows 用 Apryse SDK ページにアクセスする必要があります。
! Apryse C# .NET PDF ライブラリのダウンロードページには、SDK ダウンロードボタンと商用ライセンスの要件が表示されています。
- SDK を抽出します。ダウンロード後、SDK をシステム上の既知の場所に抽出します。
- Apryse トライアル キーを取得する: Apryse プラットフォームに登録してトライアル キーを取得します。このキーは、SDK のトライアル機能を有効にするために使用します。 4.プロジェクトの設定: Visual Studio で、新しい .NET Framework コンソール アプリケーションを作成します。 展開済み SDK の Lib フォルダーをプロジェクト ディレクトリに追加します。 5.参照の追加:プロジェクトの [参照] を右クリックし、[参照の追加] を選択して、 PDFNetLoader.dllとアーキテクチャ (x86 または x64) に適したPDFNet.dllをコピーしたLibフォルダーに移動します。 PDFNet.dll の "ローカルコピー" プロパティが false に設定されていることを確認してください。
- App.config を構成する: App.config ファイルでloadFromRemoteSources設定が true に有効になっていることを確認します。
SDK には、ソリューションとして直接開いて実行できるサンプル フォルダーが含まれています。## IronPDF の高度な機能
HTMLからPDFへの変換
IronPDF は、HTML を PDF ドキュメントに変換するのに非常に効果的であり、レポート、請求書、または Web ページのスナップショットを生成する Web アプリケーションにとって重要な機能です。 ライブラリは HTML、CSS、JavaScript を正確にレンダリングし、生成された PDF 内の Web コンテンツのレイアウトとスタイルを保持します。
HTML文字列をPDFに変換する
HTML 文字列を直接 PDF に変換すると、アプリケーションで生成されたコンテンツまたは保存された変数から動的なドキュメントを作成できます。 この方法は、ユーザー入力に基づいてカスタマイズされたレポート、領収書、またはドキュメントを作成する場合に役立ちます。
using IronPdf;
// Secure the server environment to disable local disk access or cross-origin requests
Installation.EnableWebSecurity = true;
// Set your IronPDF license key
IronPdf.License.LicenseKey = "License-Key goes here";
// Instantiate a PDF renderer
var renderer = new ChromePdfRenderer();
// Define a simple HTML string to convert to PDF
string htmlContent = @"
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='UTF-8'>
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
<title>My PDF</title>
<style>
body {
font-family: Arial, sans-serif;
}
h1 {
color: #333;
text-align: center;
}
p {
color: #666;
text-align: justify;
}
</style>
</head>
<body>
<h1>Welcome to My PDF</h1>
<p>This is a sample paragraph demonstrating how to create a PDF from HTML using IronPdf in C#.</p>
<p>You can add more content here as needed.</p>
</body>
</html>";
// Render the HTML string as a PDF
var pdf = renderer.RenderHtmlAsPdf(htmlContent);
// Save the resulting PDF to a file
pdf.SaveAs("output.pdf");using IronPdf;
// Secure the server environment to disable local disk access or cross-origin requests
Installation.EnableWebSecurity = true;
// Set your IronPDF license key
IronPdf.License.LicenseKey = "License-Key goes here";
// Instantiate a PDF renderer
var renderer = new ChromePdfRenderer();
// Define a simple HTML string to convert to PDF
string htmlContent = @"
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='UTF-8'>
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
<title>My PDF</title>
<style>
body {
font-family: Arial, sans-serif;
}
h1 {
color: #333;
text-align: center;
}
p {
color: #666;
text-align: justify;
}
</style>
</head>
<body>
<h1>Welcome to My PDF</h1>
<p>This is a sample paragraph demonstrating how to create a PDF from HTML using IronPdf in C#.</p>
<p>You can add more content here as needed.</p>
</body>
</html>";
// Render the HTML string as a PDF
var pdf = renderer.RenderHtmlAsPdf(htmlContent);
// Save the resulting PDF to a file
pdf.SaveAs("output.pdf");HTMLファイルをPDFに変換する
ディスク上に HTML ファイルを保存している場合、IronPDF はこれらのファイルを PDF ドキュメントに変換できます。 この方法は、プロジェクトまたはサーバーに保存されている既存の HTML ドキュメント、テンプレート、またはレポートに最適です。
using IronPdf;
// Set your IronPDF license key
IronPdf.License.LicenseKey = "License-Key goes here";
// Secure the server environment to disable local disk access or cross-origin requests
Installation.EnableWebSecurity = true;
// Instantiate a PDF renderer
var renderer = new ChromePdfRenderer();
// Render the HTML file as a PDF
var pdf = renderer.RenderHtmlFileAsPdf("invoice.html");
// Save the resulting PDF to a file
pdf.SaveAs("file.pdf");using IronPdf;
// Set your IronPDF license key
IronPdf.License.LicenseKey = "License-Key goes here";
// Secure the server environment to disable local disk access or cross-origin requests
Installation.EnableWebSecurity = true;
// Instantiate a PDF renderer
var renderer = new ChromePdfRenderer();
// Render the HTML file as a PDF
var pdf = renderer.RenderHtmlFileAsPdf("invoice.html");
// Save the resulting PDF to a file
pdf.SaveAs("file.pdf");URLをPDFに変換
IronPDF は、URL を提供することでライブ Web ページを PDF ドキュメントに変換できます。 この機能は、複雑なレイアウト、CSS、JavaScript で生成されたコンテンツなど、現在の Web ページの状態をキャプチャします。
using IronPdf;
// Set your IronPDF license key
IronPdf.License.LicenseKey = "License-Key goes here";
// Secure the server environment to disable local disk access or cross-origin requests
Installation.EnableWebSecurity = true;
// Instantiate a PDF renderer
var renderer = new ChromePdfRenderer();
// Render the URL as a PDF
var pdf = renderer.RenderUrlAsPdf("___PROTECTED_URL_100___");
// Save the resulting PDF to a file
pdf.SaveAs("url.pdf");using IronPdf;
// Set your IronPDF license key
IronPdf.License.LicenseKey = "License-Key goes here";
// Secure the server environment to disable local disk access or cross-origin requests
Installation.EnableWebSecurity = true;
// Instantiate a PDF renderer
var renderer = new ChromePdfRenderer();
// Render the URL as a PDF
var pdf = renderer.RenderUrlAsPdf("___PROTECTED_URL_100___");
// Save the resulting PDF to a file
pdf.SaveAs("url.pdf");Bootstrapと最新のCSSフレームワークのサポート
最新の Web アプリケーションから PDF を生成する場合、Bootstrap および CSS フレームワークの完全なサポートが不可欠です。 組織は Web インターフェースに Bootstrap を利用しており、レポート、請求書、ドキュメントを PDF に正確に変換することが重要になっています。
IronPDF でサポートされている Bootstrap 機能
IronPDF: 完全なBootstrapサポート
- Bootstrap 5:フレックスボックスレイアウト、CSSグリッド、ユーティリティクラス、レスポンシブコンポーネントを完全サポート
- Bootstrap 4:完全なカードシステム、ナビゲーションコンポーネント、Flexユーティリティ
- Tailwind CSS:すべてのユーティリティクラスが正確にレンダリングされます -基盤:完全なグリッドシステムとコンポーネントのサポート -モダン CSS3:完全なフレックスボックス、CSS グリッド、カスタム プロパティ、アニメーション、トランジション
IronPDF は、Bootstrap ホームページとすべての公式例をピクセル単位の精度でレンダリングします。
実世界の検証: IronPDF は、Bootstrapホームページ とすべての 公式サンプル をピクセル単位で正確にレンダリングします。
using IronPdf;
// Set your IronPDF license key
IronPdf.License.LicenseKey = "License-Key goes here";
var renderer = new ChromePdfRenderer();
string bootstrapDashboard = @"
<!DOCTYPE html>
<html>
<head>
<link href='___PROTECTED_URL_101___ rel='stylesheet'>
<style>
.metric-card { transition: transform 0.2s; }
.metric-card:hover { transform: translateY(-5px); }
.trend-up { color: #28a745; }
.trend-down { color: #dc3545; }
</style>
</head>
<body>
<div class='container-fluid py-4'>
<div class='d-flex justify-content-between align-items-center mb-4'>
<h1 class='display-5'>Business Performance Dashboard</h1>
<div class='text-muted'>Last updated: March 2025</div>
</div>
<div class='row g-4 mb-4'>
<div class='col-md-3'>
<div class='card metric-card shadow-sm border-start border-primary border-4'>
<div class='card-body'>
<div class='d-flex justify-content-between align-items-center mb-2'>
<h6 class='text-muted text-uppercase mb-0'>Total Revenue</h6>
<span class='badge bg-primary'>Q1 2025</span>
</div>
<h2 class='mb-1'>$2.4M</h2>
<div class='trend-up'>
<i>↑</i> <strong>+18.5%</strong> from last quarter
</div>
</div>
</div>
</div>
<div class='col-md-3'>
<div class='card metric-card shadow-sm border-start border-success border-4'>
<div class='card-body'>
<div class='d-flex justify-content-between align-items-center mb-2'>
<h6 class='text-muted text-uppercase mb-0'>New Customers</h6>
<span class='badge bg-success'>Active</span>
</div>
<h2 class='mb-1'>1,284</h2>
<div class='trend-up'>
<i>↑</i> <strong>+24.3%</strong> growth rate
</div>
</div>
</div>
</div>
<div class='col-md-3'>
<div class='card metric-card shadow-sm border-start border-warning border-4'>
<div class='card-body'>
<div class='d-flex justify-content-between align-items-center mb-2'>
<h6 class='text-muted text-uppercase mb-0'>Avg Order Value</h6>
<span class='badge bg-warning text-dark'>Updated</span>
</div>
<h2 class='mb-1'>$1,847</h2>
<div class='trend-up'>
<i>↑</i> <strong>+5.2%</strong> increase
</div>
</div>
</div>
</div>
<div class='col-md-3'>
<div class='card metric-card shadow-sm border-start border-info border-4'>
<div class='card-body'>
<div class='d-flex justify-content-between align-items-center mb-2'>
<h6 class='text-muted text-uppercase mb-0'>Satisfaction Rate</h6>
<span class='badge bg-info'>Excellent</span>
</div>
<h2 class='mb-1'>94.7%</h2>
<div class='trend-up'>
<i>↑</i> <strong>+2.1pts</strong> improvement
</div>
</div>
</div>
</div>
</div>
<div class='row g-4'>
<div class='col-md-8'>
<div class='card shadow-sm'>
<div class='card-header bg-white d-flex justify-content-between align-items-center'>
<h5 class='mb-0'>Revenue Breakdown by Category</h5>
<div class='btn-group btn-group-sm' role='group'>
<button type='button' class='btn btn-outline-primary active'>Monthly</button>
<button type='button' class='btn btn-outline-primary'>Quarterly</button>
<button type='button' class='btn btn-outline-primary'>Annual</button>
</div>
</div>
<div class='card-body'>
<div class='table-responsive'>
<table class='table table-hover mb-0'>
<thead class='table-light'>
<tr>
<th>Category</th>
<th>Revenue</th>
<th>Orders</th>
<th>Avg Value</th>
<th class='text-end'>Trend</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class='badge bg-primary me-2'>A</span>Enterprise Solutions</td>
<td><strong>$1,245,000</strong></td>
<td>142</td>
<td>$8,768</td>
<td class='text-end'><span class='badge bg-success'>+12%</span></td>
</tr>
<tr>
<td><span class='badge bg-success me-2'>B</span>Professional Services</td>
<td><strong>$687,500</strong></td>
<td>458</td>
<td>$1,501</td>
<td class='text-end'><span class='badge bg-success'>+18%</span></td>
</tr>
<tr>
<td><span class='badge bg-info me-2'>C</span>Standard Packages</td>
<td><strong>$412,300</strong></td>
<td>891</td>
<td>$463</td>
<td class='text-end'><span class='badge bg-success'>+8%</span></td>
</tr>
<tr>
<td><span class='badge bg-warning me-2'>D</span>Custom Development</td>
<td><strong>$55,200</strong></td>
<td>12</td>
<td>$4,600</td>
<td class='text-end'><span class='badge bg-danger'>-3%</span></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div class='col-md-4'>
<div class='card shadow-sm'>
<div class='card-header bg-white'>
<h5 class='mb-0'>Quick Actions</h5>
</div>
<div class='card-body'>
<div class='d-grid gap-2'>
<button class='btn btn-primary'>Generate Full Report</button>
<button class='btn btn-outline-primary'>Export to Excel</button>
<button class='btn btn-outline-secondary'>Schedule Email</button>
<button class='btn btn-outline-info'>Share Dashboard</button>
</div>
</div>
</div>
<div class='card shadow-sm mt-3'>
<div class='card-header bg-white'>
<h5 class='mb-0'>Key Insights</h5>
</div>
<div class='card-body'>
<div class='alert alert-success mb-2'>
<small><strong>Top Performer:</strong> Enterprise Solutions leading revenue growth</small>
</div>
<div class='alert alert-info mb-2'>
<small><strong>Growth Driver:</strong> Professional Services showing strongest customer acquisition</small>
</div>
<div class='alert alert-warning mb-0'>
<small><strong>Attention Needed:</strong> Custom Development segment requires review</small>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>";
var pdf = renderer.RenderHtmlAsPdf(bootstrapDashboard);
pdf.SaveAs("business-dashboard.pdf");using IronPdf;
// Set your IronPDF license key
IronPdf.License.LicenseKey = "License-Key goes here";
var renderer = new ChromePdfRenderer();
string bootstrapDashboard = @"
<!DOCTYPE html>
<html>
<head>
<link href='___PROTECTED_URL_101___ rel='stylesheet'>
<style>
.metric-card { transition: transform 0.2s; }
.metric-card:hover { transform: translateY(-5px); }
.trend-up { color: #28a745; }
.trend-down { color: #dc3545; }
</style>
</head>
<body>
<div class='container-fluid py-4'>
<div class='d-flex justify-content-between align-items-center mb-4'>
<h1 class='display-5'>Business Performance Dashboard</h1>
<div class='text-muted'>Last updated: March 2025</div>
</div>
<div class='row g-4 mb-4'>
<div class='col-md-3'>
<div class='card metric-card shadow-sm border-start border-primary border-4'>
<div class='card-body'>
<div class='d-flex justify-content-between align-items-center mb-2'>
<h6 class='text-muted text-uppercase mb-0'>Total Revenue</h6>
<span class='badge bg-primary'>Q1 2025</span>
</div>
<h2 class='mb-1'>$2.4M</h2>
<div class='trend-up'>
<i>↑</i> <strong>+18.5%</strong> from last quarter
</div>
</div>
</div>
</div>
<div class='col-md-3'>
<div class='card metric-card shadow-sm border-start border-success border-4'>
<div class='card-body'>
<div class='d-flex justify-content-between align-items-center mb-2'>
<h6 class='text-muted text-uppercase mb-0'>New Customers</h6>
<span class='badge bg-success'>Active</span>
</div>
<h2 class='mb-1'>1,284</h2>
<div class='trend-up'>
<i>↑</i> <strong>+24.3%</strong> growth rate
</div>
</div>
</div>
</div>
<div class='col-md-3'>
<div class='card metric-card shadow-sm border-start border-warning border-4'>
<div class='card-body'>
<div class='d-flex justify-content-between align-items-center mb-2'>
<h6 class='text-muted text-uppercase mb-0'>Avg Order Value</h6>
<span class='badge bg-warning text-dark'>Updated</span>
</div>
<h2 class='mb-1'>$1,847</h2>
<div class='trend-up'>
<i>↑</i> <strong>+5.2%</strong> increase
</div>
</div>
</div>
</div>
<div class='col-md-3'>
<div class='card metric-card shadow-sm border-start border-info border-4'>
<div class='card-body'>
<div class='d-flex justify-content-between align-items-center mb-2'>
<h6 class='text-muted text-uppercase mb-0'>Satisfaction Rate</h6>
<span class='badge bg-info'>Excellent</span>
</div>
<h2 class='mb-1'>94.7%</h2>
<div class='trend-up'>
<i>↑</i> <strong>+2.1pts</strong> improvement
</div>
</div>
</div>
</div>
</div>
<div class='row g-4'>
<div class='col-md-8'>
<div class='card shadow-sm'>
<div class='card-header bg-white d-flex justify-content-between align-items-center'>
<h5 class='mb-0'>Revenue Breakdown by Category</h5>
<div class='btn-group btn-group-sm' role='group'>
<button type='button' class='btn btn-outline-primary active'>Monthly</button>
<button type='button' class='btn btn-outline-primary'>Quarterly</button>
<button type='button' class='btn btn-outline-primary'>Annual</button>
</div>
</div>
<div class='card-body'>
<div class='table-responsive'>
<table class='table table-hover mb-0'>
<thead class='table-light'>
<tr>
<th>Category</th>
<th>Revenue</th>
<th>Orders</th>
<th>Avg Value</th>
<th class='text-end'>Trend</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class='badge bg-primary me-2'>A</span>Enterprise Solutions</td>
<td><strong>$1,245,000</strong></td>
<td>142</td>
<td>$8,768</td>
<td class='text-end'><span class='badge bg-success'>+12%</span></td>
</tr>
<tr>
<td><span class='badge bg-success me-2'>B</span>Professional Services</td>
<td><strong>$687,500</strong></td>
<td>458</td>
<td>$1,501</td>
<td class='text-end'><span class='badge bg-success'>+18%</span></td>
</tr>
<tr>
<td><span class='badge bg-info me-2'>C</span>Standard Packages</td>
<td><strong>$412,300</strong></td>
<td>891</td>
<td>$463</td>
<td class='text-end'><span class='badge bg-success'>+8%</span></td>
</tr>
<tr>
<td><span class='badge bg-warning me-2'>D</span>Custom Development</td>
<td><strong>$55,200</strong></td>
<td>12</td>
<td>$4,600</td>
<td class='text-end'><span class='badge bg-danger'>-3%</span></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div class='col-md-4'>
<div class='card shadow-sm'>
<div class='card-header bg-white'>
<h5 class='mb-0'>Quick Actions</h5>
</div>
<div class='card-body'>
<div class='d-grid gap-2'>
<button class='btn btn-primary'>Generate Full Report</button>
<button class='btn btn-outline-primary'>Export to Excel</button>
<button class='btn btn-outline-secondary'>Schedule Email</button>
<button class='btn btn-outline-info'>Share Dashboard</button>
</div>
</div>
</div>
<div class='card shadow-sm mt-3'>
<div class='card-header bg-white'>
<h5 class='mb-0'>Key Insights</h5>
</div>
<div class='card-body'>
<div class='alert alert-success mb-2'>
<small><strong>Top Performer:</strong> Enterprise Solutions leading revenue growth</small>
</div>
<div class='alert alert-info mb-2'>
<small><strong>Growth Driver:</strong> Professional Services showing strongest customer acquisition</small>
</div>
<div class='alert alert-warning mb-0'>
<small><strong>Attention Needed:</strong> Custom Development segment requires review</small>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>";
var pdf = renderer.RenderHtmlAsPdf(bootstrapDashboard);
pdf.SaveAs("business-dashboard.pdf");出力: Bootstrap 5 のフレックスボックスベースのグリッド システム、境界ユーティリティ付きのカード コンポーネント、バッジ要素、レスポンシブ テーブル、色分けされたメトリックを備えたプロフェッショナルなビジネス ダッシュボード PDF。すべてが完璧なレイアウト保持とタイポグラフィでレンダリングされます。
ApryseのCSSフレームワークの制限
ApryseのHTML2PDFモジュールは、文書化された制限を持つ独自のレンダリングエンジン(Chromiumではない)を使用しています:
-部分的なフレックスボックスのサポート: Bootstrap 4/5レイアウトが正しくレンダリングされない可能性があります -制限されたCSSグリッド:現代のグリッドベースのデザインは失敗することが多い
- JavaScript の制約:ブラウザ環境に比べて実行が最小限 -フレームワークの互換性: Bootstrapコンポーネントの広範なテストが必要
HTML2PDF のドキュメントでは、複雑な CSS は期待どおりにレンダリングされない可能性があることが明示的に警告されています。 開発者は、ナビゲーション バー、フレックス ベースのカード レイアウト、レスポンシブ ユーティリティに関する問題を報告しています。
開発への影響: Apryse を使用するチームは、並列の"PDF セーフ" CSS を作成するか、Bootstrap レイアウトを大幅に簡素化する必要があり、開発のオーバーヘッドが増加し、Web 出力と PDF 出力間のデザインの一貫性が制限されます。
完全な CSS3 レンダリングを備えた Bootstrap フレームワークの完全なサポートについては、 Bootstrap & Flexbox CSS ガイドを参照してください。
PDFの結合と分割
IronPDF を使用すると、複数の PDF ドキュメントを結合したり、PDF を小さなファイルに分割したりすることが簡単に行えます。 この機能は、整理された PDF コンテンツ構造を必要とするドキュメント管理システムに不可欠です。
using IronPdf;
// Set your IronPDF license key
IronPdf.License.LicenseKey = "License-Key goes here";
// Secure the server environment to disable local disk access or cross-origin requests
Installation.EnableWebSecurity = true;
// Define HTML content for two PDFs to merge
var htmlA = @"
<h1>PDF A</h1>
<p>This is the content of PDF A.</p>
<p>This is the first page of PDF A.</p>
<div style='page-break-after: always;'></div>
<p>This is the second page of PDF A.</p>";
var htmlB = @"
<h1>PDF B</h1>
<p>This is the content of PDF B.</p>
<p>This is the first page of PDF B.</p>
<div style='page-break-after: always;'></div>
<p>This is the second page of PDF B.</p>";
// Instantiate a PDF renderer
var renderer = new ChromePdfRenderer();
// Render the HTML content as separate PDF documents
var pdfDocA = renderer.RenderHtmlAsPdf(htmlA);
var pdfDocB = renderer.RenderHtmlAsPdf(htmlB);
// Merge the two PDFs into one
var mergedPdf = PdfDocument.Merge(pdfDocA, pdfDocB);
// Save the merged PDF to a file
mergedPdf.SaveAs("Merged.pdf");using IronPdf;
// Set your IronPDF license key
IronPdf.License.LicenseKey = "License-Key goes here";
// Secure the server environment to disable local disk access or cross-origin requests
Installation.EnableWebSecurity = true;
// Define HTML content for two PDFs to merge
var htmlA = @"
<h1>PDF A</h1>
<p>This is the content of PDF A.</p>
<p>This is the first page of PDF A.</p>
<div style='page-break-after: always;'></div>
<p>This is the second page of PDF A.</p>";
var htmlB = @"
<h1>PDF B</h1>
<p>This is the content of PDF B.</p>
<p>This is the first page of PDF B.</p>
<div style='page-break-after: always;'></div>
<p>This is the second page of PDF B.</p>";
// Instantiate a PDF renderer
var renderer = new ChromePdfRenderer();
// Render the HTML content as separate PDF documents
var pdfDocA = renderer.RenderHtmlAsPdf(htmlA);
var pdfDocB = renderer.RenderHtmlAsPdf(htmlB);
// Merge the two PDFs into one
var mergedPdf = PdfDocument.Merge(pdfDocA, pdfDocB);
// Save the merged PDF to a file
mergedPdf.SaveAs("Merged.pdf");PDFに透かしを追加する
IronPDF を使用すると、PDF ページに透かしを追加して、ブランド化したり、ドキュメントを機密としてマークしたりできます。 ライブラリは、テキストと画像の両方の透かしの複雑さを管理し、適用と表示の柔軟性を実現します。
using IronPdf;
// Set your IronPDF license key
IronPdf.License.LicenseKey = "License-Key goes here";
// Secure the server environment to disable local disk access or cross-origin requests
Installation.EnableWebSecurity = true;
// Instantiate a PDF renderer
var renderer = new ChromePdfRenderer();
// Render a URL as a PDF
var pdf = renderer.RenderUrlAsPdf("___PROTECTED_URL_102___");
// Apply a 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 to a file
pdf.SaveAs("Watermarked.pdf");
```### How Do I Work with PDF Forms?
IronPDF supports complete [interactive PDF form handling](https://ironpdf.com/how-to/create-forms/). You can create, fill, and submit PDF forms programmatically, which is particularly useful for automating form processing or integrating form data collection into your workflows.
```csharp
using IronPdf;
// Set your IronPDF license key
IronPdf.License.LicenseKey = "License-Key goes here";
// Secure the server environment to disable local disk access or cross-origin requests
Installation.EnableWebSecurity = true;
// Define HTML content with form elements
const string formHtml = @"
<html>
<body>
<h2>Employee Information Form</h2>
<form>
First name: <br>
Last name: <br>
<br>
<p>Please select your department:</p>
<select name='department'>
<option value='HR'>HR</option>
<option value='Finance'>Finance</option>
<option value='IT'>IT</option>
<option value='Marketing'>Marketing</option>
</select>
<br>
<br>
<p>Please select your employment status:</p>
<label for='fulltime'>Full-time</label> <br>
<label for='parttime'>Part-time</label> <br>
<br>
<p>Please select your skills:</p>
<label for='skill1'> Programming</label><br>
<label for='skill2'> Design</label><br>
<label for='skill3'> Marketing</label><br>
</form>
</body>
</html>";
// Instantiate a PDF renderer
var renderer = new ChromePdfRenderer();
renderer.RenderingOptions.CreatePdfFormsFromHtml = true;
// Render the HTML form content as a PDF
renderer.RenderHtmlAsPdf(formHtml).SaveAs("EmployeeInfoForm.pdf");using IronPdf;
// Set your IronPDF license key
IronPdf.License.LicenseKey = "License-Key goes here";
// Secure the server environment to disable local disk access or cross-origin requests
Installation.EnableWebSecurity = true;
// Instantiate a PDF renderer
var renderer = new ChromePdfRenderer();
// Render a URL as a PDF
var pdf = renderer.RenderUrlAsPdf("___PROTECTED_URL_102___");
// Apply a 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 to a file
pdf.SaveAs("Watermarked.pdf");
```### How Do I Work with PDF Forms?
IronPDF supports complete [interactive PDF form handling](https://ironpdf.com/how-to/create-forms/). You can create, fill, and submit PDF forms programmatically, which is particularly useful for automating form processing or integrating form data collection into your workflows.
```csharp
using IronPdf;
// Set your IronPDF license key
IronPdf.License.LicenseKey = "License-Key goes here";
// Secure the server environment to disable local disk access or cross-origin requests
Installation.EnableWebSecurity = true;
// Define HTML content with form elements
const string formHtml = @"
<html>
<body>
<h2>Employee Information Form</h2>
<form>
First name: <br>
Last name: <br>
<br>
<p>Please select your department:</p>
<select name='department'>
<option value='HR'>HR</option>
<option value='Finance'>Finance</option>
<option value='IT'>IT</option>
<option value='Marketing'>Marketing</option>
</select>
<br>
<br>
<p>Please select your employment status:</p>
<label for='fulltime'>Full-time</label> <br>
<label for='parttime'>Part-time</label> <br>
<br>
<p>Please select your skills:</p>
<label for='skill1'> Programming</label><br>
<label for='skill2'> Design</label><br>
<label for='skill3'> Marketing</label><br>
</form>
</body>
</html>";
// Instantiate a PDF renderer
var renderer = new ChromePdfRenderer();
renderer.RenderingOptions.CreatePdfFormsFromHtml = true;
// Render the HTML form content as a PDF
renderer.RenderHtmlAsPdf(formHtml).SaveAs("EmployeeInfoForm.pdf");! テキスト フィールド、ドロップダウン メニュー、ラジオ ボタン、チェック ボックスなどのさまざまなフォーム要素を示すインタラクティブな PDF フォームが生成され、フォーム作成機能が示されます。
PDF を保護および暗号化するにはどうすればよいですか?
IronPDF は、暗号化、権限設定、デジタル署名など、 PDF ドキュメントを保護するための信頼性の高い機能を提供します。 これらにより、機密情報の保護とドキュメントの整合性の維持が保証されます。
using IronPdf;
// Set your IronPDF license key
IronPdf.License.LicenseKey = "License-Key goes here";
// Secure the server environment to disable local disk access or cross-origin requests
Installation.EnableWebSecurity = true;
// Load an existing PDF file
var pdf = PdfDocument.FromFile("invoice.pdf");
// Set document security settings
pdf.SecuritySettings.OwnerPassword = "top-secret"; // Password to edit the PDF
pdf.SecuritySettings.UserPassword = "sharable"; // Password to open the PDF
// Save the secured PDF to a file
pdf.SaveAs("secured.pdf");using IronPdf;
// Set your IronPDF license key
IronPdf.License.LicenseKey = "License-Key goes here";
// Secure the server environment to disable local disk access or cross-origin requests
Installation.EnableWebSecurity = true;
// Load an existing PDF file
var pdf = PdfDocument.FromFile("invoice.pdf");
// Set document security settings
pdf.SecuritySettings.OwnerPassword = "top-secret"; // Password to edit the PDF
pdf.SecuritySettings.UserPassword = "sharable"; // Password to open the PDF
// Save the secured PDF to a file
pdf.SaveAs("secured.pdf");! テキストフィールドと"ファイルを開く"および"キャンセル"という2つのボタンを備えたパスワード入力ダイアログボックス
どのような高度な編集オプションが利用できますか?
IronPDF は、基本的な変更を超えた高度な編集機能を提供します。 これらには、ヘッダーとフッターの追加、ページ レイアウトのカスタマイズ、画像とフォントの埋め込みが含まれます。 これらの機能により、特定のアプリケーション要件に合わせて動的な PDF を生成およびカスタマイズできます。
using IronPdf;
// Set your IronPDF license key
IronPdf.License.LicenseKey = "License-Key goes here";
// Secure the server environment to disable local disk access or cross-origin requests
Installation.EnableWebSecurity = true;
// Instantiate a PDF renderer
var renderer = new IronPdf.ChromePdfRenderer();
// Define multi-page HTML content with page breaks
var multiPageHtml = @"
<p> This is 1st Page</p>
<div style = 'page-break-after: always;' ></div>
<p> This is 2nd Page</p>
<div style = 'page-break-after: always;' ></div>
<p> This is 3rd Page</p>
<div style = 'page-break-after: always;' ></div>
<p> This is 4th Page</p>
<div style = 'page-break-after: always;' ></div>
<p> This is 5th Page</p>
<div style = 'page-break-after: always;' ></div>
<p> This is 6th Page</p>
<div style = 'page-break-after: always;' ></div>
<p> This is 7th Page</p>";
// Render the HTML content as a PDF
var pdfDoc = renderer.RenderHtmlAsPdf(multiPageHtml);
// Create a header for the first page only
var firstPageHeader = new HtmlHeaderFooter();
firstPageHeader.HtmlFragment = "This is the First Page Header";
pdfDoc.AddHtmlHeaders(firstPageHeader, 1);
// Save the resulting PDF with headers to a file
pdfDoc.SaveAs("PagesWithHeaders.pdf");using IronPdf;
// Set your IronPDF license key
IronPdf.License.LicenseKey = "License-Key goes here";
// Secure the server environment to disable local disk access or cross-origin requests
Installation.EnableWebSecurity = true;
// Instantiate a PDF renderer
var renderer = new IronPdf.ChromePdfRenderer();
// Define multi-page HTML content with page breaks
var multiPageHtml = @"
<p> This is 1st Page</p>
<div style = 'page-break-after: always;' ></div>
<p> This is 2nd Page</p>
<div style = 'page-break-after: always;' ></div>
<p> This is 3rd Page</p>
<div style = 'page-break-after: always;' ></div>
<p> This is 4th Page</p>
<div style = 'page-break-after: always;' ></div>
<p> This is 5th Page</p>
<div style = 'page-break-after: always;' ></div>
<p> This is 6th Page</p>
<div style = 'page-break-after: always;' ></div>
<p> This is 7th Page</p>";
// Render the HTML content as a PDF
var pdfDoc = renderer.RenderHtmlAsPdf(multiPageHtml);
// Create a header for the first page only
var firstPageHeader = new HtmlHeaderFooter();
firstPageHeader.HtmlFragment = "This is the First Page Header";
pdfDoc.AddHtmlHeaders(firstPageHeader, 1);
// Save the resulting PDF with headers to a file
pdfDoc.SaveAs("PagesWithHeaders.pdf");Apryse C# はどのような高度な機能を提供しますか?
注釈やマークアップを追加するにはどうすればよいですか?
Apryse C# を使用すると、プログラムによって PDF ドキュメントに注釈やマークアップを追加できます。 これには、ドキュメントのレビュー プロセスや補足情報の追加に不可欠な、テキスト注釈、ハイライト、下線、図形が含まれます。
using pdftron;
using pdftron.PDF;
using pdftron.SDF;
class Program
{
static void Main()
{
// Initialize the PDFNet library with your license key
PDFNet.Initialize("License");
// Open an existing PDF document
using (PDFDoc doc = new PDFDoc("input.pdf"))
{
// Access the first page of the document
Page page = doc.GetPage(1);
// Create a text annotation on the document
Text txt = Text.Create(doc, new Rect(10, 20, 30, 40));
txt.SetIcon("UserIcon");
txt.SetContents("It's an annotation!");
page.AnnotPushBack(txt);
// Save the modified document
doc.Save("output.pdf", SDFDoc.SaveOptions.e_linearized);
}
}
}using pdftron;
using pdftron.PDF;
using pdftron.SDF;
class Program
{
static void Main()
{
// Initialize the PDFNet library with your license key
PDFNet.Initialize("License");
// Open an existing PDF document
using (PDFDoc doc = new PDFDoc("input.pdf"))
{
// Access the first page of the document
Page page = doc.GetPage(1);
// Create a text annotation on the document
Text txt = Text.Create(doc, new Rect(10, 20, 30, 40));
txt.SetIcon("UserIcon");
txt.SetContents("It's an annotation!");
page.AnnotPushBack(txt);
// Save the modified document
doc.Save("output.pdf", SDFDoc.SaveOptions.e_linearized);
}
}
}! "注釈です!"というテキスト注釈とその下に小さな黄色のコメント アイコンが付いたドキュメントを表示する PDF ビューア。
ドキュメントを PDF に変換するにはどうすればよいですか?
Apryse C# を使用すると、 Office ドキュメント、画像、HTML など、さまざまなドキュメント形式を PDF に変換できます。 この機能により、アーカイブ、共有、表示の際にドキュメントの形式が統一されます。
using pdftron;
using pdftron.PDF;
class Program
{
static void Main()
{
// Initialize the PDFNet library
PDFNet.Initialize();
// Create a new PDF document
PDFDoc pdfdoc = new PDFDoc();
// Convert a Word document to PDF and add it to the PDF document
Convert.ToPdf(pdfdoc, "input.docx");
// Save the newly created PDF document
pdfdoc.Save("output.pdf", SDFDoc.SaveOptions.e_linearized);
}
}using pdftron;
using pdftron.PDF;
class Program
{
static void Main()
{
// Initialize the PDFNet library
PDFNet.Initialize();
// Create a new PDF document
PDFDoc pdfdoc = new PDFDoc();
// Convert a Word document to PDF and add it to the PDF document
Convert.ToPdf(pdfdoc, "input.docx");
// Save the newly created PDF document
pdfdoc.Save("output.pdf", SDFDoc.SaveOptions.e_linearized);
}
}PDF からコンテンツを抽出するにはどうすればいいですか?
Apryse C# は、PDF ドキュメントからテキスト、画像、その他のコンテンツを抽出するのに優れています。 この機能は、コンテンツ分析、データ抽出、情報検索アプリケーションをサポートし、効率的な PDF コンテンツ処理を可能にします。
using pdftron;
using pdftron.PDF;
using pdftron.SDF;
class Program
{
static void Main()
{
// Initialize the PDFNet library
PDFNet.Initialize();
// Open an existing PDF document
using (PDFDoc doc = new PDFDoc("input.pdf"))
{
// Iterate through each page of the document
PageIterator itr = doc.GetPageIterator();
for (; itr.HasNext(); itr.Next())
{
Page page = itr.Current();
// Extract text from the page
TextExtractor txt = new TextExtractor();
txt.Begin(page);
// Print the extracted text to the console
Console.WriteLine(txt.GetAsText());
}
}
}
}using pdftron;
using pdftron.PDF;
using pdftron.SDF;
class Program
{
static void Main()
{
// Initialize the PDFNet library
PDFNet.Initialize();
// Open an existing PDF document
using (PDFDoc doc = new PDFDoc("input.pdf"))
{
// Iterate through each page of the document
PageIterator itr = doc.GetPageIterator();
for (; itr.HasNext(); itr.Next())
{
Page page = itr.Current();
// Extract text from the page
TextExtractor txt = new TextExtractor();
txt.Begin(page);
// Print the extracted text to the console
Console.WriteLine(txt.GetAsText());
}
}
}
}Apryse で PDF を保護するにはどうすればよいですか?
Apryse C# は、PDF ドキュメントを保護するための完全なツールを提供します。 パスワード保護を適用し、ドキュメントを暗号化し、ユーザー権限を管理して機密情報を保護できます。
using pdftron;
using pdftron.SDF;
using pdftron.PDF;
class Program
{
static void Main()
{
// Initialize the PDFNet library
PDFNet.Initialize();
// Open an existing PDF document
using (PDFDoc doc = new PDFDoc("input.pdf"))
{
// Initialize the security handler
doc.InitSecurityHandler();
// Create a new security handler
SecurityHandler newHandler = new SecurityHandler();
// Set the user password for the document
newHandler.ChangeUserPassword("new_password");
// Grant permission to print the document
newHandler.SetPermission(SecurityHandler.Permission.e_print, true);
// Apply the security handler to the document
doc.SetSecurityHandler(newHandler);
// Save the secured document
doc.Save("output.pdf", SDFDoc.SaveOptions.e_linearized);
}
}
}using pdftron;
using pdftron.SDF;
using pdftron.PDF;
class Program
{
static void Main()
{
// Initialize the PDFNet library
PDFNet.Initialize();
// Open an existing PDF document
using (PDFDoc doc = new PDFDoc("input.pdf"))
{
// Initialize the security handler
doc.InitSecurityHandler();
// Create a new security handler
SecurityHandler newHandler = new SecurityHandler();
// Set the user password for the document
newHandler.ChangeUserPassword("new_password");
// Grant permission to print the document
newHandler.SetPermission(SecurityHandler.Permission.e_print, true);
// Apply the security handler to the document
doc.SetSecurityHandler(newHandler);
// Save the secured document
doc.Save("output.pdf", SDFDoc.SaveOptions.e_linearized);
}
}
}機密情報を編集するにはどうすればよいですか?
Apryse C# は、コンプライアンスとプライバシーの懸念に不可欠な、PDF ドキュメントからの機密情報の編集をサポートしています。 この機能を使用すると、PDF 内のテキストや画像を永久に削除したり隠したりすることができます。
using pdftron;
using pdftron.PDF;
using pdftron.SDF;
class Program
{
static void Main()
{
// Initialize the PDFNet library
PDFNet.Initialize();
// Open an existing PDF document
using (PDFDoc doc = new PDFDoc("input.pdf"))
{
// Define redaction areas on specific pages
Redactor.Redaction[] redactions = {
new Redactor.Redaction(1, new Rect(100, 100, 200, 200), false, "redacted"),
};
// Apply redactions to the document
Redactor.Redact(doc, redactions);
// Save the redacted document
doc.Save("output.pdf", SDFDoc.SaveOptions.e_linearized);
}
}
}using pdftron;
using pdftron.PDF;
using pdftron.SDF;
class Program
{
static void Main()
{
// Initialize the PDFNet library
PDFNet.Initialize();
// Open an existing PDF document
using (PDFDoc doc = new PDFDoc("input.pdf"))
{
// Define redaction areas on specific pages
Redactor.Redaction[] redactions = {
new Redactor.Redaction(1, new Rect(100, 100, 200, 200), false, "redacted"),
};
// Apply redactions to the document
Redactor.Redact(doc, redactions);
// Save the redacted document
doc.Save("output.pdf", SDFDoc.SaveOptions.e_linearized);
}
}
}どのようなドキュメントとサポートが利用可能ですか?
IronPDF はどのようなサポートを提供しますか?
ドキュメント: IronPDF は、入門ガイドから、 HTML から PDF への変換、 PDF 編集、結合、分割、セキュリティなどの高度な機能までを網羅した完全なドキュメントを提供します。 ドキュメントには、さまざまな PDF 機能の実装をガイドする広範なコード例と説明を含む、わかりやすいコンテンツが提供されています。
サポート: IronPDF は、電子メール サポート、チケット サポート、特定の問題について技術チームと連絡を取ることができるライブエンジニアリング サポート チャットなど、複数のチャネルを通じてサポートを提供します。 あなたのアプリケーションは、フィードバック システムの恩恵をすぐに受けることができます。
! エンジニアリングサポートまたはライセンスセールスチームとの接続オプションを表示する Iron サポートチームのチャットインターフェース
Apryse C# はどのようなサポートを提供しますか?
ドキュメント: Apryse C# (旧称 PDFTron for .NET) は、完全な API リファレンス、開発者ガイド、さまざまな PDF 操作タスクのサンプル コードなど、詳細なドキュメントを提供します。
サポート: Apryse は、トラブルシューティングや実装に関する質問について、技術チームと直接メールでやり取りすることで開発者サポートを提供します。 また、Stack Overflowで質問することもできます。
ライセンスのオプションと価格はいくらですか?
IronPDF のライセンス オプションは何ですか?
IronPDF は、さまざまなプロジェクトのニーズに合わせて調整された複数のライセンス オプションを提供します。 価格は、Lite ライセンスの場合$799から始まります。 これらのライセンスは、開発者の数、場所、対象となるプロジェクトによって異なります。 IronPDF は、ロイヤリティフリーの再配布オプションと、アドオンの特定の価格設定による拡張サポートも提供します。
IronPDF の永久ライセンス オプションには次のものが含まれます。
- Lite エディション:料金は$799で、開発者 1 名、場所 1 か所、プロジェクト 1 つに適しており、電子メール サポートが含まれます。
- Plus エディション:価格は$1,199で、最大 3 人の開発者、3 つの場所、3 つのプロジェクトをカバーし、24 時間のメールとチャットのサポート、および電話サポートが提供されます。 -プロフェッショナル エディション: $2,399では、このエディションは最大 10 人の開発者、10 か所、10 のプロジェクトを対象としており、電子メール、チャット、電話、画面共有などの包括的なサポートが提供されます。
また、10,000 回の API 呼び出しを含む月額 500 ドルのサブスクリプションも提供しており、追加の呼び出しは 1 回あたり 0.02 ドルです。 無制限の使用に対して、IronPDF は見積ベースの価格設定によるエンタープライズ ソリューションを提供します。 このソリューションには、無制限の永久ライセンスや API 呼び出しなどの機能が含まれています。
Apryse C# のライセンス オプションは何ですか?
Apryse C# は、機能、ドキュメント量、展開シナリオなどの特定のプロジェクト要件に基づいてカスタマイズ可能な価格設定を提供します。 Apryse の価格情報については、営業チームに問い合わせる必要があります。
どの PDF ライブラリを選択すればよいですか?
IronPDF と Apryse C# はどちらも、PDF を扱う .NET 開発者に効果的な機能をもたらします。 IronPDF は、広範な PDF 操作機能によって優位性を提供します。 IronPDF を使用した広範な編集や PDF の結合など、完全な機能を備えています。 Iron Suite パッケージを使用すると、コスト効率の高い価格で複数のツールにアクセスでき、さまざまなニーズに対応する信頼性の高いユーティリティを開発に装備できます。
IronPDFは、ほとんどのPDF処理シナリオにおいて、その全体的な汎用性と価値提案で際立っています。 最終的な決定は、プロジェクト要件と開発に必要な特定の機能に合わせて行う必要があります。
C# は各所有者の登録商標です。 このサイトはApryse C#とは関係がなく、Apryse C#によって承認または後援されていません。 すべての製品名、ロゴ、およびブランドは各所有者の所有物です。 比較は情報提供のみを目的としており、執筆時点で公開されている情報を反映しています。
よくある質問
IronPDFとApryse C#のPDF操作における主な違いは何ですか?
IronPDFは、.NETとのシームレスな統合とHTMLからPDFへの変換、フォーム処理、セキュリティ機能における高度な機能で知られています。Apryse C#、以前はPDFTron SDKとして知られていたものは、コンテンツ抽出と文書変換に焦点を当て、注釈と削除などの高度な機能を提供しています。
どのようにして.NETアプリケーションでHTMLをPDFに変換できますか?
IronPDFライブラリのRenderHtmlAsPdfメソッドを使用して、HTML文字列を直接PDF文書に変換できます。これは、ウェブコンテンツやHTMLテンプレートからPDFを生成するのに便利です。
IronPDFを.NETプロジェクトにインストールする手順は何ですか?
IronPDFは、Visual StudioのNuGetパッケージマネージャーを使用して簡単にインストールできます。また、パッケージマネージャーコンソールを使用してInstall-Package IronPdfコマンドを実行するか、NuGetサイトから直接ダウンロードすることもできます。
IronPDFはPDFのセキュリティと暗号化をどのように扱っていますか?
IronPDFは、文書を暗号化する機能、ユーザー権限の設定、デジタル署名の管理を含む包括的なセキュリティオプションを提供します。これにより、PDFが保護され、セキュリティ基準に準拠していることが保証されます。
IronPDFが提供する高度なPDF編集機能は何ですか?
IronPDFは、文書の結合と分割、透かしの追加、ヘッダーとフッターのカスタマイズを含む、さまざまな高度な編集機能をサポートしています。また、よりカスタマイズされた文書作成のためのレイアウトカスタマイズオプションも提供します。
IronPDFユーザー向けに利用可能なサポートとリソースは何ですか?
IronPDFは、広範なドキュメント、メールサポート、チケットベースのサポート、ライブエンジニアチャットを提供し、開発者が実装やトラブルシューティングを支援します。これにより、ユーザーが効果的にPDFを操作するための必要なリソースが保証されます。
IronPDFのライセンスオプションはどのようになっていますか?
IronPDFは、異なるサポートレベルと開発者ニーズに対応するLite、Plus、Professionalライセンスを含むいくつかのライセンスオプションを提供します。また、より広範な用途のための月額サブスクリプションモデルと企業向けソリューションも利用可能です。
どうやってApryse C#を使ってPDFからテキストを抽出することができますか?
Apryse C#は、PDFからコンテンツをプログラム的に抽出する堅牢なテキスト抽出機能を提供します。この機能は、データ分析やコンテンツ操作を必要とするアプリケーションにとって不可欠です。
Apryse C#はどのようなドキュメント形式をPDFに変換できますか?
Apryse C#は、Office文書、画像、およびHTMLファイルを含むさまざまなドキュメント形式をPDFに変換することをサポートします。この機能は、異なるプラットフォーム間でのドキュメント表現の一貫性を維持するために重要です。
IronPDF が .NET 開発者にとっての主な機能は何ですか?
IronPDFは、HTMLからPDFへの変換、包括的なフォーム処理、文書のセキュリティなどの高度な機能で知られています。パフォーマンス、スケーラビリティ、およびシームレスな .NET 統合が評価されており、さまざまな PDF 処理シナリオに最適です。






