Menu

Generate a PDF in Kotlin: OpenPDF and IronPDF
📰

Generate a PDF in Kotlin: OpenPDF and IronPDF

DEV Community: java·IronSoftware·3 days ago
#ekv9y5UQ
#devtojava#devto#dev#kotlin#java
Long article (1140 words) — no AI summary yet.
Reading 0:00
15s threshold

Every learner who finishes a course on a Kotlin-built platform receives a completion certificate as a PDF, and one candidate for producing it is OpenPDF with its Kotlin module. The number to settle before writing any code is 21, the Java version that OpenPDF's 2.1 and 3.0 lines require.

IronPDF for Java, which we build, is a released library that Kotlin code on the JVM can call, and our IronPDF for Kotlin is coming soon, with early-access sign-up, so the certificate starts in OpenPDF.

We work at Iron Software, and the end of this article covers our library, IronPDF.

How does OpenPDF build a certificate in Kotlin?

It builds the certificate from code through a Kotlin builder. OpenPDF is a Java library, licensed under the LGPL or the MPL, that creates, edits, renders and encrypts PDF documents, and openpdf-kotlin is a Kotlin module that adds a builder on top of it.

import com . github . librepdf . kotlin . PdfBuilder import java . io .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.