public final class BackgroundForeground_Api extends Object
Constructor and Description |
---|
BackgroundForeground_Api() |
Modifier and Type | Method and Description |
---|---|
static void |
addBackground(InternalPdfDocument baseDocument,
InternalPdfDocument backgroundDocument)
Adds the background to specified pages of this PDF.
|
static void |
addBackground(InternalPdfDocument baseDocument,
InternalPdfDocument backgroundDocument,
Iterable<Integer> basePdfPageIndexes)
Adds the background to specified pages of this PDF.
|
static void |
addBackground(InternalPdfDocument baseDocument,
InternalPdfDocument backgroundDocument,
Iterable<Integer> basePdfPageIndexes,
int backgroundPdfPageIndex)
Adds the background to specified pages of this PDF.
|
static void |
addForeground(InternalPdfDocument baseDocument,
InternalPdfDocument foregroundDocument)
Adds an overlay to a range or pages of this PDF.
|
static void |
addForeground(InternalPdfDocument baseDocument,
InternalPdfDocument foregroundDocument,
Iterable<Integer> basePdfPageIndexes)
Adds an overlay to a range or pages of this PDF.
|
static void |
addForeground(InternalPdfDocument baseDocument,
InternalPdfDocument foregroundDocument,
Iterable<Integer> basePdfPageIndexes,
int foregroundPdfPageIndex)
Adds an overlay to a range or pages of this PDF.
|
public static void addBackground(InternalPdfDocument baseDocument, InternalPdfDocument backgroundDocument, Iterable<Integer> basePdfPageIndexes)
baseDocument
- the base documentbackgroundDocument
- 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.public static void addBackground(InternalPdfDocument baseDocument, InternalPdfDocument backgroundDocument, Iterable<Integer> basePdfPageIndexes, int backgroundPdfPageIndex)
baseDocument
- the base documentbackgroundDocument
- 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.public static void addBackground(InternalPdfDocument baseDocument, InternalPdfDocument backgroundDocument)
baseDocument
- the base documentbackgroundDocument
- The background PDF path.public static void addForeground(InternalPdfDocument baseDocument, InternalPdfDocument foregroundDocument, Iterable<Integer> basePdfPageIndexes)
baseDocument
- the base documentforegroundDocument
- 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.public static void addForeground(InternalPdfDocument baseDocument, InternalPdfDocument foregroundDocument, Iterable<Integer> basePdfPageIndexes, int foregroundPdfPageIndex)
baseDocument
- the base documentforegroundDocument
- 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.public static void addForeground(InternalPdfDocument baseDocument, InternalPdfDocument foregroundDocument)
baseDocument
- the base documentforegroundDocument
- The overlay PDF path.Copyright © 2022–2023 Iron Software. All rights reserved.