Class BackgroundForeground_Api
java.lang.Object
com.ironsoftware.ironpdf.internal.staticapi.BackgroundForeground_Api
The type Background foreground api.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidaddBackground(InternalPdfDocument baseDocument, InternalPdfDocument backgroundDocument) Adds the background to specified pages of this PDF.static voidaddBackground(InternalPdfDocument baseDocument, InternalPdfDocument backgroundDocument, Iterable<Integer> basePdfPageIndexes) Adds the background to specified pages of this PDF.static voidaddBackground(InternalPdfDocument baseDocument, InternalPdfDocument backgroundDocument, Iterable<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, Iterable<Integer> basePdfPageIndexes) Adds an overlay to a range or pages of this PDF.static voidaddForeground(InternalPdfDocument baseDocument, InternalPdfDocument foregroundDocument, Iterable<Integer> basePdfPageIndexes, int foregroundPdfPageIndex) Adds an overlay to a range or pages of this PDF.
- 
Constructor Details- 
BackgroundForeground_Apipublic BackgroundForeground_Api()
 
- 
- 
Method Details- 
addBackgroundpublic static void addBackground(InternalPdfDocument baseDocument, InternalPdfDocument backgroundDocument, Iterable<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, Iterable<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, Iterable<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, Iterable<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.
 
 
-