KitePDF

object KitePDF

One-call entry point. Equivalent to PdfDocument.open. It exists so KitePDF.open(bytes) reads nicely at call sites. For passwords, encryption checks, editing, etc. use PdfDocument directly.

val doc = KitePDF.open(bytes)
for (page in doc.pages) println(page.extractText())

Properties

Link copied to clipboard
const val VERSION: String

Library version. Generated from the Gradle project version at build time.

Functions

Link copied to clipboard

Parse bytes as a PDF document. See PdfDocument.open for the password overload.