Class HeaderFooter_Api

java.lang.Object
com.ironsoftware.ironpdf.internal.staticapi.HeaderFooter_Api

public final class HeaderFooter_Api extends Object
The type Header footer api.
  • Constructor Details

    • HeaderFooter_Api

      public HeaderFooter_Api()
  • Method Details

    • addTextHeader

      public static void addTextHeader(InternalPdfDocument internalPdfDocument, TextHeaderFooter header, int firstPageNumber, Iterable<Integer> pageIndexesToAddFootersTo, int marginLeftMm, int marginRightMm, int marginTopMm, int marginBottomMm)
      Renders page headers to an existing PDF File

      Margin spacing on the PDF page for the header are set to default values of 25mm. An overload method allow header margins to be chosen specifically or set to zero.

      Parameters:
      internalPdfDocument - the internal pdf document
      header - A new instance of TextHeaderFooter that defines the header content and layout.
      firstPageNumber - Optional. The number of first page.
      pageIndexesToAddFootersTo - Optional# The PageIndexes (zero-based page numbers) to which the header will be added.
      marginLeftMm - The left margin of the header on the page in mm.
      marginRightMm - The right margin of the header on the page in mm.
      marginTopMm - The top margin of the header on the page in mm.
      marginBottomMm - The bottom margin of the header on the page in mm.
    • addTextHeader

      public static void addTextHeader(InternalPdfDocument internalPdfDocument, TextHeaderFooter header, int firstPageNumber, Iterable<Integer> pageIndexesToAddFootersTo, int marginLeftMm, int marginRightMm, int marginTopMm, int marginBottomMm, String pdfTitle)
      Renders page headers to an existing PDF File

      Margin spacing on the PDF page for the header are set to default values of 25mm. An overload method allow header margins to be chosen specifically or set to zero.

      Parameters:
      internalPdfDocument - the internal pdf document
      header - A new instance of TextHeaderFooter that defines the header content and layout.
      firstPageNumber - Optional. The number of first page.
      pageIndexesToAddFootersTo - Optional# The PageIndexes (zero-based page numbers) to which the header will be added.
      marginLeftMm - The left margin of the header on the page in mm.
      marginRightMm - The right margin of the header on the page in mm.
      marginTopMm - The top margin of the header on the page in mm.
      marginBottomMm - The bottom margin of the header on the page in mm.
      pdfTitle - Optional pdfTitle
    • addTextHeader

      public static void addTextHeader(InternalPdfDocument internalPdfDocument, TextHeaderFooter header, int firstPageNumber, Iterable<Integer> pageIndexesToAddFootersTo, int marginLeftMm, int marginRightMm, int marginTopMm)
      Renders page headers to an existing PDF File

      Margin spacing on the PDF page for the header are set to default values of 25mm. An overload method allow header margins to be chosen specifically or set to zero.

      Parameters:
      internalPdfDocument - the internal pdf document
      header - A new instance of TextHeaderFooter that defines the header content and layout.
      firstPageNumber - Optional. The number of first page.
      pageIndexesToAddFootersTo - Optional# The PageIndexes (zero-based page numbers) to which the header will be added.
      marginLeftMm - The left margin of the header on the page in mm.
      marginRightMm - The right margin of the header on the page in mm.
      marginTopMm - The top margin of the header on the page in mm.
    • addTextHeader

      public static void addTextHeader(InternalPdfDocument internalPdfDocument, TextHeaderFooter header, int firstPageNumber, Iterable<Integer> pageIndexesToAddFootersTo, int marginLeftMm, int marginRightMm)
      Renders page headers to an existing PDF File

      Margin spacing on the PDF page for the header are set to default values of 25mm. An overload method allow header margins to be chosen specifically or set to zero.

      Parameters:
      internalPdfDocument - the internal pdf document
      header - A new instance of TextHeaderFooter that defines the header content and layout.
      firstPageNumber - Optional. The number of first page.
      pageIndexesToAddFootersTo - Optional# The PageIndexes (zero-based page numbers) to which the header will be added.
      marginLeftMm - The left margin of the header on the page in mm.
      marginRightMm - The right margin of the header on the page in mm.
    • addTextHeader

      public static void addTextHeader(InternalPdfDocument internalPdfDocument, TextHeaderFooter header, int firstPageNumber, Iterable<Integer> pageIndexesToAddFootersTo, int marginLeftMm)
      Renders page headers to an existing PDF File

      Margin spacing on the PDF page for the header are set to default values of 25mm. An overload method allow header margins to be chosen specifically or set to zero.

      Parameters:
      internalPdfDocument - the internal pdf document
      header - A new instance of TextHeaderFooter that defines the header content and layout.
      firstPageNumber - Optional. The number of first page.
      pageIndexesToAddFootersTo - Optional# The PageIndexes (zero-based page numbers) to which the header will be added.
      marginLeftMm - The left margin of the header on the page in mm.
    • addTextHeader

      public static void addTextHeader(InternalPdfDocument internalPdfDocument, TextHeaderFooter header, int firstPageNumber, Iterable<Integer> pageIndexesToAddFootersTo)
      Renders page headers to an existing PDF File

      Margin spacing on the PDF page for the header are set to default values of 25mm. An overload method allow header margins to be chosen specifically or set to zero.

      Parameters:
      internalPdfDocument - the internal pdf document
      header - A new instance of TextHeaderFooter that defines the header content and layout.
      firstPageNumber - Optional. The number of first page.
      pageIndexesToAddFootersTo - Optional# The PageIndexes (zero-based page numbers) to which the header will be added.
    • addTextHeader

      public static void addTextHeader(InternalPdfDocument internalPdfDocument, TextHeaderFooter header, int firstPageNumber)
      Renders page headers to an existing PDF File

      Margin spacing on the PDF page for the header are set to default values of 25mm. An overload method allow header margins to be chosen specifically or set to zero.

      Parameters:
      internalPdfDocument - the internal pdf document
      header - A new instance of TextHeaderFooter that defines the header content and layout.
      firstPageNumber - Optional. The number of first page.
    • addTextHeader

      public static void addTextHeader(InternalPdfDocument internalPdfDocument, TextHeaderFooter header)
      Renders page headers to an existing PDF File

      Margin spacing on the PDF page for the header are set to default values of 25mm. An overload method allow header margins to be chosen specifically or set to zero.

      Parameters:
      internalPdfDocument - the internal pdf document
      header - A new instance of TextHeaderFooter that defines the header content and layout.
    • addTextFooter

      public static void addTextFooter(InternalPdfDocument internalPdfDocument, TextHeaderFooter footer, int firstPageNumber, Iterable<Integer> pageIndexesToAddFootersTo, int marginLeftMm, int marginRightMm, int marginTopMm, int marginBottomMm)
      Renders page footers to an existing PDF File

      Margin spacing on the PDF page for the footer are set to default values of 25mm. An overload method allow footer margins to be chosen specifically or set to zero.

      Parameters:
      internalPdfDocument - the internal pdf document
      footer - A new instance of TextHeaderFooter that defines the header content and layout.
      firstPageNumber - Optional. The number of first page.
      pageIndexesToAddFootersTo - Optional# The PageIndexes (zero-based page numbers) to which the footer will be added.
      marginLeftMm - The left margin of the footer on the page in mm.
      marginRightMm - The right margin of the footer on the page in mm.
      marginTopMm - The top margin of the footer on the page in mm.
      marginBottomMm - The bottom margin of the footer on the page in mm.
    • addTextFooter

      public static void addTextFooter(InternalPdfDocument internalPdfDocument, TextHeaderFooter footer, int firstPageNumber, Iterable<Integer> pageIndexesToAddFootersTo, int marginLeftMm, int marginRightMm, int marginTopMm, int marginBottomMm, String pdfTitle)
      Renders page footers to an existing PDF File

      Margin spacing on the PDF page for the footer are set to default values of 25mm. An overload method allow footer margins to be chosen specifically or set to zero.

      Parameters:
      internalPdfDocument - the internal pdf document
      footer - A new instance of TextHeaderFooter that defines the header content and layout.
      firstPageNumber - Optional. The number of first page.
      pageIndexesToAddFootersTo - Optional# The PageIndexes (zero-based page numbers) to which the footer will be added.
      marginLeftMm - The left margin of the footer on the page in mm.
      marginRightMm - The right margin of the footer on the page in mm.
      marginTopMm - The top margin of the footer on the page in mm.
      marginBottomMm - The bottom margin of the footer on the page in mm.
      pdfTitle - Optional pdfTitle
    • addTextFooter

      public static void addTextFooter(InternalPdfDocument internalPdfDocument, TextHeaderFooter footer, int firstPageNumber, Iterable<Integer> pageIndexesToAddFootersTo, int marginLeftMm, int marginRightMm, int marginTopMm)
      Renders page footers to an existing PDF File

      Margin spacing on the PDF page for the footer are set to default values of 25mm. An overload method allow footer margins to be chosen specifically or set to zero.

      Parameters:
      internalPdfDocument - the internal pdf document
      footer - A new instance of TextHeaderFooter that defines the header content and layout.
      firstPageNumber - Optional. The number of first page.
      pageIndexesToAddFootersTo - Optional# The PageIndexes (zero-based page numbers) to which the footer will be added.
      marginLeftMm - The left margin of the footer on the page in mm.
      marginRightMm - The right margin of the footer on the page in mm.
      marginTopMm - The top margin of the footer on the page in mm.
    • addTextFooter

      public static void addTextFooter(InternalPdfDocument internalPdfDocument, TextHeaderFooter footer, int firstPageNumber, Iterable<Integer> pageIndexesToAddFootersTo, int marginLeftMm, int marginRightMm)
      Renders page footers to an existing PDF File

      Margin spacing on the PDF page for the footer are set to default values of 25mm. An overload method allow footer margins to be chosen specifically or set to zero.

      Parameters:
      internalPdfDocument - the internal pdf document
      footer - A new instance of TextHeaderFooter that defines the header content and layout.
      firstPageNumber - Optional. The number of first page.
      pageIndexesToAddFootersTo - Optional# The PageIndexes (zero-based page numbers) to which the footer will be added.
      marginLeftMm - The left margin of the footer on the page in mm.
      marginRightMm - The right margin of the footer on the page in mm.
    • addTextFooter

      public static void addTextFooter(InternalPdfDocument internalPdfDocument, TextHeaderFooter footer, int firstPageNumber, Iterable<Integer> pageIndexesToAddFootersTo, int marginLeftMm)
      Renders page footers to an existing PDF File

      Margin spacing on the PDF page for the footer are set to default values of 25mm. An overload method allow footer margins to be chosen specifically or set to zero.

      Parameters:
      internalPdfDocument - the internal pdf document
      footer - A new instance of TextHeaderFooter that defines the header content and layout.
      firstPageNumber - Optional. The number of first page.
      pageIndexesToAddFootersTo - Optional# The PageIndexes (zero-based page numbers) to which the footer will be added.
      marginLeftMm - The left margin of the footer on the page in mm.
    • addTextFooter

      public static void addTextFooter(InternalPdfDocument internalPdfDocument, TextHeaderFooter footer, int firstPageNumber, Iterable<Integer> pageIndexesToAddFootersTo)
      Renders page footers to an existing PDF File

      Margin spacing on the PDF page for the footer are set to default values of 25mm. An overload method allow footer margins to be chosen specifically or set to zero.

      Parameters:
      internalPdfDocument - the internal pdf document
      footer - A new instance of TextHeaderFooter that defines the header content and layout.
      firstPageNumber - Optional. The number of first page.
      pageIndexesToAddFootersTo - Optional# The PageIndexes (zero-based page numbers) to which the footer will be added.
    • addTextFooter

      public static void addTextFooter(InternalPdfDocument internalPdfDocument, TextHeaderFooter footer, int firstPageNumber)
      Renders page footers to an existing PDF File

      Margin spacing on the PDF page for the footer are set to default values of 25mm. An overload method allow footer margins to be chosen specifically or set to zero.

      Parameters:
      internalPdfDocument - the internal pdf document
      footer - A new instance of TextHeaderFooter that defines the header content and layout.
      firstPageNumber - Optional. The number of first page.
    • addTextFooter

      public static void addTextFooter(InternalPdfDocument internalPdfDocument, TextHeaderFooter footer)
      Renders page footers to an existing PDF File

      Margin spacing on the PDF page for the footer are set to default values of 25mm. An overload method allow footer margins to be chosen specifically or set to zero.

      Parameters:
      internalPdfDocument - the internal pdf document
      footer - A new instance of TextHeaderFooter that defines the header content and layout.
    • addHtmlHeader

      public static void addHtmlHeader(InternalPdfDocument internalPdfDocument, HtmlHeaderFooter header, int firstPageNumber, Iterable<Integer> pageIndexesToAddFootersTo, int marginLeftMm, int marginRightMm, int marginTopMm, int marginBottomMm, CssMediaType renderPdfCssMediaType, String pdfTitle)
      Renders HTML page headers to an existing PDF File
      Parameters:
      internalPdfDocument - the internal pdf document
      header - A new instance of IronPdf.HtmlHeaderFooter that defines the header content and layout.
      firstPageNumber - Optional. The number of first page.
      pageIndexesToAddFootersTo - Optional# The PageIndexes (zero-based page numbers) to which the header will be added.
      marginLeftMm - The left margin of the header on the page in mm.
      marginRightMm - The right margin of the header on the page in mm.
      marginTopMm - The top margin of the header on the page in mm.
      marginBottomMm - The bottom margin of the header on the page in mm.
      renderPdfCssMediaType - The style-sheet. 'Print' or 'Screen'. This matches the * CSS3 Media Queries standard.
      pdfTitle - Optional pdfTitle
    • addHtmlHeader

      public static void addHtmlHeader(InternalPdfDocument internalPdfDocument, HtmlHeaderFooter header, int firstPageNumber, Iterable<Integer> pageIndexesToAddFootersTo, int marginLeftMm, int marginRightMm, int marginTopMm, int marginBottomMm, CssMediaType renderPdfCssMediaType, String pdfTitle, String htmlTitle)
      Renders HTML page headers to an existing PDF File
      Parameters:
      internalPdfDocument - the internal pdf document
      header - A new instance of IronPdf.HtmlHeaderFooter that defines the header content and layout.
      firstPageNumber - Optional. The number of first page.
      pageIndexesToAddFootersTo - Optional# The PageIndexes (zero-based page numbers) to which the header will be added.
      marginLeftMm - The left margin of the header on the page in mm.
      marginRightMm - The right margin of the header on the page in mm.
      marginTopMm - The top margin of the header on the page in mm.
      marginBottomMm - The bottom margin of the header on the page in mm.
      renderPdfCssMediaType - The style-sheet. 'Print' or 'Screen'. This matches the CSS3 Media Queries standard.
      pdfTitle - Optional pdfTitle
      htmlTitle - Optional htmlTitle
    • addHtmlHeader

      public static void addHtmlHeader(InternalPdfDocument internalPdfDocument, HtmlHeaderFooter header, int firstPageNumber, Iterable<Integer> pageIndexesToAddFootersTo, int marginLeftMm, int marginRightMm, int marginTopMm, int marginBottomMm, CssMediaType renderPdfCssMediaType)
      Renders HTML page headers to an existing PDF File
      Parameters:
      internalPdfDocument - the internal pdf document
      header - A new instance of IronPdf.HtmlHeaderFooter that defines the header content and layout.
      firstPageNumber - Optional. The number of first page.
      pageIndexesToAddFootersTo - Optional# The PageIndexes (zero-based page numbers) to which the header will be added.
      marginLeftMm - The left margin of the header on the page in mm.
      marginRightMm - The right margin of the header on the page in mm.
      marginTopMm - The top margin of the header on the page in mm.
      marginBottomMm - The bottom margin of the header on the page in mm.
      renderPdfCssMediaType - The style-sheet. 'Print' or 'Screen'. This matches the CSS3 Media Queries standard.
    • addHtmlHeader

      public static void addHtmlHeader(InternalPdfDocument internalPdfDocument, HtmlHeaderFooter header, int firstPageNumber, Iterable<Integer> pageIndexesToAddFootersTo, int marginLeftMm, int marginRightMm, int marginTopMm, int marginBottomMm)
      Renders HTML page headers to an existing PDF File
      Parameters:
      internalPdfDocument - the internal pdf document
      header - A new instance of IronPdf.HtmlHeaderFooter that defines the header content and layout.
      firstPageNumber - Optional. The number of first page.
      pageIndexesToAddFootersTo - Optional# The PageIndexes (zero-based page numbers) to which the header will be added.
      marginLeftMm - The left margin of the header on the page in mm.
      marginRightMm - The right margin of the header on the page in mm.
      marginTopMm - The top margin of the header on the page in mm.
      marginBottomMm - The bottom margin of the header on the page in mm.
    • addHtmlHeader

      public static void addHtmlHeader(InternalPdfDocument internalPdfDocument, HtmlHeaderFooter header, int firstPageNumber, Iterable<Integer> pageIndexesToAddFootersTo, int marginLeftMm, int marginRightMm, int marginTopMm)
      Renders HTML page headers to an existing PDF File
      Parameters:
      internalPdfDocument - the internal pdf document
      header - A new instance of IronPdf.HtmlHeaderFooter that defines the header content and layout.
      firstPageNumber - Optional. The number of first page.
      pageIndexesToAddFootersTo - Optional# The PageIndexes (zero-based page numbers) to which the header will be added.
      marginLeftMm - The left margin of the header on the page in mm.
      marginRightMm - The right margin of the header on the page in mm.
      marginTopMm - The top margin of the header on the page in mm.
    • addHtmlHeader

      public static void addHtmlHeader(InternalPdfDocument internalPdfDocument, HtmlHeaderFooter header, int firstPageNumber, Iterable<Integer> pageIndexesToAddFootersTo, int marginLeftMm, int marginRightMm)
      Renders HTML page headers to an existing PDF File
      Parameters:
      internalPdfDocument - the internal pdf document
      header - A new instance of IronPdf.HtmlHeaderFooter that defines the header content and layout.
      firstPageNumber - Optional. The number of first page.
      pageIndexesToAddFootersTo - Optional# The PageIndexes (zero-based page numbers) to which the header will be added.
      marginLeftMm - The left margin of the header on the page in mm.
      marginRightMm - The right margin of the header on the page in mm.
    • addHtmlHeader

      public static void addHtmlHeader(InternalPdfDocument internalPdfDocument, HtmlHeaderFooter header, int firstPageNumber, Iterable<Integer> pageIndexesToAddFootersTo, int marginLeftMm)
      Renders HTML page headers to an existing PDF File
      Parameters:
      internalPdfDocument - the internal pdf document
      header - A new instance of IronPdf.HtmlHeaderFooter that defines the header content and layout.
      firstPageNumber - Optional. The number of first page.
      pageIndexesToAddFootersTo - Optional# The PageIndexes (zero-based page numbers) to which the header will be added.
      marginLeftMm - The left margin of the header on the page in mm.
    • addHtmlHeader

      public static void addHtmlHeader(InternalPdfDocument internalPdfDocument, HtmlHeaderFooter header, int firstPageNumber, Iterable<Integer> pageIndexesToAddFootersTo)
      Renders HTML page headers to an existing PDF File
      Parameters:
      internalPdfDocument - the internal pdf document
      header - A new instance of IronPdf.HtmlHeaderFooter that defines the header content and layout.
      firstPageNumber - Optional. The number of first page.
      pageIndexesToAddFootersTo - Optional# The PageIndexes (zero-based page numbers) to which the header will be added.
    • addHtmlHeader

      public static void addHtmlHeader(InternalPdfDocument internalPdfDocument, HtmlHeaderFooter header, int firstPageNumber)
      Renders HTML page headers to an existing PDF File
      Parameters:
      internalPdfDocument - the internal pdf document
      header - A new instance of IronPdf.HtmlHeaderFooter that defines the header content and layout.
      firstPageNumber - Optional. The number of first page.
    • addHtmlHeader

      public static void addHtmlHeader(InternalPdfDocument internalPdfDocument, HtmlHeaderFooter header)
      Renders HTML page headers to an existing PDF File
      Parameters:
      internalPdfDocument - the internal pdf document
      header - A new instance of IronPdf.HtmlHeaderFooter that defines the header content and layout.
    • addHtmlFooter

      public static void addHtmlFooter(InternalPdfDocument internalPdfDocument, HtmlHeaderFooter footer, int firstPageNumber, Iterable<Integer> pageIndexesToAddFootersTo, int marginLeftMm, int marginRightMm, int marginTopMm, int marginBottomMm, CssMediaType renderPdfCssMediaType, String pdfTitle)
      Renders HTML page footers to an existing PDF File
      Parameters:
      internalPdfDocument - the internal pdf document
      footer - A new instance of IronPdf.HtmlFooterFooter that defines the footer content and layout.
      firstPageNumber - Optional. The number of first page.
      pageIndexesToAddFootersTo - Optional# The PageIndexes (zero-based page numbers) to which the footer will be added.
      marginLeftMm - The left margin of the footer on the page in mm.
      marginRightMm - The right margin of the footer on the page in mm.
      marginTopMm - The top margin of the footer on the page in mm.
      marginBottomMm - The bottom margin of the footer on the page in mm.
      renderPdfCssMediaType - The style-sheet. 'Print' or 'Screen'. This matches the CSS3 Media Queries standard.
      pdfTitle - Optional pdfTitle
    • addHtmlFooter

      public static void addHtmlFooter(InternalPdfDocument internalPdfDocument, HtmlHeaderFooter footer, int firstPageNumber, Iterable<Integer> pageIndexesToAddFootersTo, int marginLeftMm, int marginRightMm, int marginTopMm, int marginBottomMm, CssMediaType renderPdfCssMediaType, String pdfTitle, String htmlTitle)
      Renders HTML page footers to an existing PDF File
      Parameters:
      internalPdfDocument - the internal pdf document
      footer - A new instance of IronPdf.HtmlFooterFooter that defines the footer content and layout.
      firstPageNumber - Optional. The number of first page.
      pageIndexesToAddFootersTo - Optional# The PageIndexes (zero-based page numbers) to which the footer will be added.
      marginLeftMm - The left margin of the footer on the page in mm.
      marginRightMm - The right margin of the footer on the page in mm.
      marginTopMm - The top margin of the footer on the page in mm.
      marginBottomMm - The bottom margin of the footer on the page in mm.
      renderPdfCssMediaType - The style-sheet. 'Print' or 'Screen'. This matches the CSS3 Media Queries standard.
      pdfTitle - Optional pdfTitle
      htmlTitle - Optional htmlTitle
    • addHtmlFooter

      public static void addHtmlFooter(InternalPdfDocument internalPdfDocument, HtmlHeaderFooter footer, int firstPageNumber, Iterable<Integer> pageIndexesToAddFootersTo, int marginLeftMm, int marginRightMm, int marginTopMm, int marginBottomMm, CssMediaType renderPdfCssMediaType)
      Renders HTML page footers to an existing PDF File
      Parameters:
      internalPdfDocument - the internal pdf document
      footer - A new instance of IronPdf.HtmlFooterFooter that defines the footer content and layout.
      firstPageNumber - Optional. The number of first page.
      pageIndexesToAddFootersTo - Optional# The PageIndexes (zero-based page numbers) to which the footer will be added.
      marginLeftMm - The left margin of the footer on the page in mm.
      marginRightMm - The right margin of the footer on the page in mm.
      marginTopMm - The top margin of the footer on the page in mm.
      marginBottomMm - The bottom margin of the footer on the page in mm.
      renderPdfCssMediaType - The style-sheet. 'Print' or 'Screen'. This matches the CSS3 Media Queries standard.
    • addHtmlFooter

      public static void addHtmlFooter(InternalPdfDocument internalPdfDocument, HtmlHeaderFooter footer, int firstPageNumber, Iterable<Integer> pageIndexesToAddFootersTo, int marginLeftMm, int marginRightMm, int marginTopMm, int marginBottomMm)
      Renders HTML page footers to an existing PDF File
      Parameters:
      internalPdfDocument - the internal pdf document
      footer - A new instance of IronPdf.HtmlFooterFooter that defines the footer content and layout.
      firstPageNumber - Optional. The number of first page.
      pageIndexesToAddFootersTo - Optional# The PageIndexes (zero-based page numbers) to which the footer will be added.
      marginLeftMm - The left margin of the footer on the page in mm.
      marginRightMm - The right margin of the footer on the page in mm.
      marginTopMm - The top margin of the footer on the page in mm.
      marginBottomMm - The bottom margin of the footer on the page in mm.
    • addHtmlFooter

      public static void addHtmlFooter(InternalPdfDocument internalPdfDocument, HtmlHeaderFooter footer, int firstPageNumber, Iterable<Integer> pageIndexesToAddFootersTo, int marginLeftMm, int marginRightMm, int marginTopMm)
      Renders HTML page footers to an existing PDF File
      Parameters:
      internalPdfDocument - the internal pdf document
      footer - A new instance of IronPdf.HtmlFooterFooter that defines the footer content and layout.
      firstPageNumber - Optional. The number of first page.
      pageIndexesToAddFootersTo - Optional# The PageIndexes (zero-based page numbers) to which the footer will be added.
      marginLeftMm - The left margin of the footer on the page in mm.
      marginRightMm - The right margin of the footer on the page in mm.
      marginTopMm - The top margin of the footer on the page in mm.
    • addHtmlFooter

      public static void addHtmlFooter(InternalPdfDocument internalPdfDocument, HtmlHeaderFooter footer, int firstPageNumber, Iterable<Integer> pageIndexesToAddFootersTo, int marginLeftMm, int marginRightMm)
      Renders HTML page footers to an existing PDF File
      Parameters:
      internalPdfDocument - the internal pdf document
      footer - A new instance of IronPdf.HtmlFooterFooter that defines the footer content and layout.
      firstPageNumber - Optional. The number of first page.
      pageIndexesToAddFootersTo - Optional# The PageIndexes (zero-based page numbers) to which the footer will be added.
      marginLeftMm - The left margin of the footer on the page in mm.
      marginRightMm - The right margin of the footer on the page in mm.
    • addHtmlFooter

      public static void addHtmlFooter(InternalPdfDocument internalPdfDocument, HtmlHeaderFooter footer, int firstPageNumber, Iterable<Integer> pageIndexesToAddFootersTo, int marginLeftMm)
      Renders HTML page footers to an existing PDF File
      Parameters:
      internalPdfDocument - the internal pdf document
      footer - A new instance of IronPdf.HtmlFooterFooter that defines the footer content and layout.
      firstPageNumber - Optional. The number of first page.
      pageIndexesToAddFootersTo - Optional# The PageIndexes (zero-based page numbers) to which the footer will be added.
      marginLeftMm - The left margin of the footer on the page in mm.
    • addHtmlFooter

      public static void addHtmlFooter(InternalPdfDocument internalPdfDocument, HtmlHeaderFooter footer, int firstPageNumber, Iterable<Integer> pageIndexesToAddFootersTo)
      Renders HTML page footers to an existing PDF File
      Parameters:
      internalPdfDocument - the internal pdf document
      footer - A new instance of IronPdf.HtmlFooterFooter that defines the footer content and layout.
      firstPageNumber - Optional. The number of first page.
      pageIndexesToAddFootersTo - Optional# The PageIndexes (zero-based page numbers) to which the footer will be added.
    • addHtmlFooter

      public static void addHtmlFooter(InternalPdfDocument internalPdfDocument, HtmlHeaderFooter footer, int firstPageNumber)
      Renders HTML page footers to an existing PDF File
      Parameters:
      internalPdfDocument - the internal pdf document
      footer - A new instance of IronPdf.HtmlFooterFooter that defines the footer content and layout.
      firstPageNumber - Optional. The number of first page.
    • addHtmlFooter

      public static void addHtmlFooter(InternalPdfDocument internalPdfDocument, HtmlHeaderFooter footer)
      Renders HTML page footers to an existing PDF File
      Parameters:
      internalPdfDocument - the internal pdf document
      footer - A new instance of IronPdf.HtmlFooterFooter that defines the footer content and layout.