PagePdf

open class PagePdf

Represents a PDF page to be merged onto another PDF page.

Constructors

Link copied to clipboard
constructor(@NonNull context: Context, @NonNull pdfFile: Uri)
PDF page from an existing file.
constructor(@NonNull context: Context, @NonNull pdfFile: Uri, @NonNull position: PagePosition)
PDF page from an existing file.
constructor(@NonNull context: Context, @NonNull pdfFile: Uri, @NonNull matrix: Matrix)
PDF page from an existing file.
constructor(@NonNull context: Context, @NonNull pdfDataProvider: DataProvider)
PDF page from a DataProvider.
constructor(@NonNull context: Context, @NonNull pdfDataProvider: DataProvider, @NonNull position: PagePosition)
PDF page from a DataProvider.
constructor(@NonNull context: Context, @NonNull pdfDataProvider: DataProvider, @NonNull matrix: Matrix)
PDF page from a DataProvider.
constructor(@NonNull context: Context, @NonNull pdfFile: Uri, @IntRange(from = 0) pageIndex: Int)
PDF page from an existing file.
constructor(@NonNull context: Context, @NonNull pdfFile: Uri, @IntRange(from = 0) pageIndex: Int, @NonNull position: PagePosition)
PDF page from an existing file.
constructor(@NonNull context: Context, @NonNull pdfFile: Uri, @IntRange(from = 0) pageIndex: Int, @NonNull matrix: Matrix)
PDF page from an existing file.
constructor(@NonNull context: Context, @NonNull pdfDataProvider: DataProvider, @IntRange(from = 0) pageIndex: Int)
PDF page from a DataProvider.
constructor(@NonNull context: Context, @NonNull pdfDataProvider: DataProvider, @IntRange(from = 0) pageIndex: Int, @NonNull position: PagePosition)
PDF page from a DataProvider.
constructor(@NonNull context: Context, @NonNull pdfDataProvider: DataProvider, @IntRange(from = 0) pageIndex: Int, @NonNull matrix: Matrix)
PDF page from a DataProvider.
constructor(@NonNull context: Context, @NonNull document: PdfDocument, @IntRange(from = 0) pageIndex: Int)
PDF page from an existing PdfDocument.
constructor(@NonNull context: Context, @NonNull document: PdfDocument, @IntRange(from = 0) pageIndex: Int, @NonNull matrix: Matrix)
PDF page from an existing PdfDocument.
constructor(@NonNull context: Context, @NonNull document: PdfDocument, @IntRange(from = 0) pageIndex: Int, @NonNull position: PagePosition)
PDF page from an existing PdfDocument.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun setDocumentPassword(@Nullable password: String)
Sets password used for opening the source PDF (if encrypted).