Guides
Convert PDF to RTF
Overview
RTF is a popular text format that can retain the format and style data of the text, and it is convenient for most text readers to read and write. Integrate ComPDFKit Conversion SDK to convert PDF to RTF files now.
Sample
This sample demonstrates how to convert from a PDF to RTF file.
kotlin
val inputFilePath = "***";
val password = "***";
val outputFileName = "***";
val rtfOptions = RtfOptions();
val error = ComPDFKitConverter.startPDFToRtf(inputFilePath, password, outputFileName, rtfOptions);