PdfDocument.PdfPageContent


public final class PdfDocument.PdfPageContent


Represents the combined text and image content within a single page of a PDF document.

Summary

Public constructors

PdfPageContent(
    @NonNull List<@NonNull PdfPageTextContent> textContents,
    @NonNull List<@NonNull PdfPageImageContent> imageContents
)

Public methods

final @NonNull List<@NonNull PdfPageImageContent>

A list of ]PdfPageImageContent] objects representing the image elements on the page.

final @NonNull List<@NonNull PdfPageTextContent>

A list of PdfPageTextContent objects representing the text elements on the page.

Public constructors

PdfPageContent

Added in 1.0.0-alpha10
public PdfPageContent(
    @NonNull List<@NonNull PdfPageTextContent> textContents,
    @NonNull List<@NonNull PdfPageImageContent> imageContents
)

Public methods

getImageContents

Added in 1.0.0-alpha10
public final @NonNull List<@NonNull PdfPageImageContentgetImageContents()

A list of ]PdfPageImageContent] objects representing the image elements on the page.

getTextContents

Added in 1.0.0-alpha10
public final @NonNull List<@NonNull PdfPageTextContentgetTextContents()

A list of PdfPageTextContent objects representing the text elements on the page.