特定のページにヘッダー/フッターを追加

IronPDF には、既存の PDF ファイルにヘッダーとフッターを追加する機能があります。

また、IronPDF のメソッドを使用して、古いまたは新しい PDF ドキュメントにカスタマイズされたヘッダーとフッターを追加することもできます。 これを行うには、次の方法を使用して PDF がレンダリングされるまで待機します。

  • IronPDFを使ってテキストヘッダーを追加するIronPdf.PdfDocument.AddHeaders_IronPdf_TextHeaderFooter_System_Boolean_System_Collections_Generic_IEnumerable_System_Int32__">IronPDFを使ってテキストヘッダーを追加するを使います。PdfDocument.AddHeaders(IronPdf.TextHeaderFooter,System.Boolean,System.Collections.Generic.IEnumerable)を使います。
  • IronPDFを使ってテキストフッターを追加するIronPdf.PdfDocument.AddFooters_System_Boolean_System_Collections_Generic_IEnumerable_System_Int32__">IronPDFを使ってテキストフッターを追加するを使います。PdfDocument.AddFooters(IronPdf.TextHeaderFooter,System.Boolean,System.Collections.Generic.IEnumerable)を使います。
  • IronPDFを使ってHTMLヘッダーを追加するIronPdf.PdfDocument.AddHTMLHeaders_IronPdf_HtmlHeaderFooter_System_Boolean_System_Collections_Generic_IEnumerable_System_Int32__">IronPDFを使ってHTMLヘッダーを追加するを使います。PdfDocument.AddHTMLHeaders(IronPdf.HtmlHeaderFooter,System.Boolean,System.Collections.Generic.IEnumerable)を使います。
  • IronPDFを使ってHTMLフッターを追加するIronPdf.PdfDocument.AddHTMLFooters_System_Boolean_System_Collections_Generic_IEnumerable_System_Int32__">IronPDFを使ってHTMLフッターを追加するを使います。PdfDocument.AddHTMLFooters(IronPdf.HtmlHeaderFooter,System.Boolean,System.Collections.Generic.IEnumerable)を使います。

IronPDFを使ったヘッダーとフッターのハウツーガイドを見る

準備はできましたか?
Nuget ダウンロード 16,685,821 | バージョン: 2025.12 リリース