Class BackgroundForeground_Api
- java.lang.Object
- 
- com.ironsoftware.ironpdf.internal.staticapi.BackgroundForeground_Api
 
- 
 public final class BackgroundForeground_Api extends Object The type Background foreground api.
- 
- 
Constructor SummaryConstructors Constructor Description BackgroundForeground_Api()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static voidaddBackground(InternalPdfDocument baseDocument, InternalPdfDocument backgroundDocument)Adds the background to specified pages of this PDF.static voidaddBackground(InternalPdfDocument baseDocument, InternalPdfDocument backgroundDocument, List<Integer> basePdfPageIndexes)Adds the background to specified pages of this PDF.static voidaddBackground(InternalPdfDocument baseDocument, InternalPdfDocument backgroundDocument, List<Integer> basePdfPageIndexes, int backgroundPdfPageIndex)Adds the background to specified pages of this PDF.static voidaddForeground(InternalPdfDocument baseDocument, InternalPdfDocument foregroundDocument)Adds an overlay to a range or pages of this PDF.static voidaddForeground(InternalPdfDocument baseDocument, InternalPdfDocument foregroundDocument, List<Integer> basePdfPageIndexes)Adds an overlay to a range or pages of this PDF.static voidaddForeground(InternalPdfDocument baseDocument, InternalPdfDocument foregroundDocument, List<Integer> basePdfPageIndexes, int foregroundPdfPageIndex)Adds an overlay to a range or pages of this PDF.
 
- 
- 
- 
Method Detail- 
addBackgroundpublic static void addBackground(InternalPdfDocument baseDocument, InternalPdfDocument backgroundDocument, List<Integer> basePdfPageIndexes) Adds the background to specified pages of this PDF. The background is copied from a page in another PDF document.- Parameters:
- baseDocument- the base document
- backgroundDocument- The background PDF path.
- basePdfPageIndexes- A list of Indexes (zero-based page numbers) of pages in this PDF to which the background will be applied to.
 
 - 
addBackgroundpublic static void addBackground(InternalPdfDocument baseDocument, InternalPdfDocument backgroundDocument, List<Integer> basePdfPageIndexes, int backgroundPdfPageIndex) Adds the background to specified pages of this PDF. The background is copied from a page in another PDF document.- Parameters:
- baseDocument- the base document
- backgroundDocument- The background PDF path.
- basePdfPageIndexes- A list of Indexes (zero-based page numbers) of pages in this PDF to which the background will be applied to.
- backgroundPdfPageIndex- Index (zero-based page number) to copy from the BackgroundPdf.
 
 - 
addBackgroundpublic static void addBackground(InternalPdfDocument baseDocument, InternalPdfDocument backgroundDocument) Adds the background to specified pages of this PDF. The background is copied from a page in another PDF document.- Parameters:
- baseDocument- the base document
- backgroundDocument- The background PDF path.
 
 - 
addForegroundpublic static void addForeground(InternalPdfDocument baseDocument, InternalPdfDocument foregroundDocument, List<Integer> basePdfPageIndexes) Adds an overlay to a range or pages of this PDF. The foreground overlay is copied from a page in another PDF document.- Parameters:
- baseDocument- the base document
- foregroundDocument- The overlay PDF path.
- basePdfPageIndexes- A list of Indexes (zero-based page numbers) of pages in this PDF to which the overlay will be applied to.
 
 - 
addForegroundpublic static void addForeground(InternalPdfDocument baseDocument, InternalPdfDocument foregroundDocument, List<Integer> basePdfPageIndexes, int foregroundPdfPageIndex) Adds an overlay to a range or pages of this PDF. The foreground overlay is copied from a page in another PDF document.- Parameters:
- baseDocument- the base document
- foregroundDocument- The overlay PDF path.
- basePdfPageIndexes- A list of Indexes (zero-based page numbers) of pages in this PDF to which the overlay will be applied to.
- foregroundPdfPageIndex- Index (zero-based page number) to copy from the Overlay PDF.
 
 - 
addForegroundpublic static void addForeground(InternalPdfDocument baseDocument, InternalPdfDocument foregroundDocument) Adds an overlay to a range or pages of this PDF. The foreground overlay is copied from a page in another PDF document.- Parameters:
- baseDocument- the base document
- foregroundDocument- The overlay PDF path.
 
 
- 
 
-