On this page
Guides
Convert PDF to PowerPoint
Overview
ComPDFKit Conversion SDK provides the function of converting PDF files to PowerPoint files and restoring the layout and format of the original document, which can meet the needs of users for the presentation and editing of document content in Microsoft PowerPoint.
Sample
This sample demonstrates how to convert from a PDF to PPTX file.
kotlin
val cPDFConvert = CPDFConverterPPT(context, uri, "")
val params = CPDFConvertPPTOptions().apply {
isContainImages = true
isContainAnnotations = true
}
val result: ConvertError = cPDFConvert.convert(outputDir, outputFilenameNoSuffix, params, pageArrays,
onHandle = onHandleCal,
onProgress = onProgressCal,
onPost = onPostCal)