JetPdfVue

fun JetPdfVue(@RawRes pdfRes: Int, context: Context, modifier: Modifier = Modifier)

Displays a .PDF file

Uses the jetpdfvue package "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.9"&"com.github.pratikksahu:JetPDFVue:1.0.7" to display a .pdf file. Also contains events that can be assigned functionality for the documented is loaded, imported, or errors.

Parameters

pdfRes

The RawRes resource of the pdf file to be viewed

context

The Context used to open the resource (context.resources.openRawResource())

modifier

The Modifier applied to this component