PdfDocument.PdfPageContent


class PdfDocument.PdfPageContent


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

Summary

Public constructors

PdfPageContent(
    textContents: List<PdfPageTextContent>,
    imageContents: List<PdfPageImageContent>
)

Public properties

List<PdfPageImageContent>

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

List<PdfPageTextContent>

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

Public constructors

PdfPageContent

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

Public properties

imageContents

Added in 1.0.0-alpha10
val imageContentsList<PdfPageImageContent>

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

textContents

Added in 1.0.0-alpha10
val textContentsList<PdfPageTextContent>

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