Companion

object Companion

Functions

Link copied to clipboard
fun cancel()

Cancels any ongoing PDF conversion process.

Link copied to clipboard
fun startPDFToExcel(filePath: String, password: String, outputPath: String, options: ExcelOptions): ErrorCode

Starts the conversion of a PDF file to an Excel document.

Link copied to clipboard
fun startPDFToHtml(filePath: String, password: String, outputPath: String, options: HtmlOptions): ErrorCode

Starts the conversion of a PDF file to an HTML document.

Link copied to clipboard
fun startPDFToImage(filePath: String, password: String, outputPath: String, options: ImageOptions): ErrorCode

Starts the conversion of a PDF file to an image format.

Link copied to clipboard
fun startPDFToJson(filePath: String, password: String, outputPath: String, options: JsonOptions): ErrorCode

Starts the conversion of a PDF file to a JSON file.

Link copied to clipboard
fun startPDFToPpt(filePath: String, password: String, outputPath: String, options: PptOptions): ErrorCode

Starts the conversion of a PDF file to a PowerPoint presentation.

Link copied to clipboard
fun startPDFToRtf(filePath: String, password: String, outputPath: String, options: RtfOptions): ErrorCode

Starts the conversion of a PDF file to a Rich Text Format (RTF) document.

Link copied to clipboard
fun startPDFToSearchablePdf(filePath: String, password: String, outputPath: String, options: SearchablePdfOptions): ErrorCode

Starts the conversion of a PDF file to a searchable PDF.

Link copied to clipboard
fun startPDFToTxt(filePath: String, password: String, outputPath: String, options: TxtOptions): ErrorCode

Starts the conversion of a PDF file to a plain text document.

Link copied to clipboard
fun startPDFToWord(filePath: String, password: String, outputPath: String, options: WordOptions): ErrorCode

Starts the conversion of a PDF file to a Word document.