Android
ComPDFKit Conversion SDK
Guides

Convert PDF Documents to HTML Documents

 

val cPDFConvert = CPDFConverterHtml(context, uri, "")

val params = CPDFConvertHtmlOptions().apply {
     pageAndNavigationPaneOptions = PageAndNavigationPaneOptions.SinglePage
}

val result: ConvertError = cPDFConvert.convert(outputDir, outputFilenameNoSuffix, params, pageArrays, 
onHandle = onHandleCal, 
onProgress = onProgressCal, 
onPost = onPostCal)