convert
open override fun convert(outputDir: String, outputFilenameNoSuffix: String, options: CPDFConvertOptions, pageArrays: IntArray?, onHandle: (objptr: Long) -> Unit?, onProgress: (current: Int, total: Int) -> Unit?, onPost: (code: ConvertError, outFilePath: String?) -> Unit?): ConvertError
Starts the conversion.
Return
Returns ERR_SUCCESS means success, otherwise it means failure.
Parameters
output Dir
output path
output Filename No Suffix
The filename of the output file, the default pass "" adopts the built-in naming rules
options
The derived class parameter of the specified conversion CPDFConvertOptions
page Arrays
Array of page numbers, such as 1,2,…,5
on Handle
Task start callback function
on Progress
Task in progress callback function
on Post
Task end callback function