Guides
Conversion Guides
ComPDFKit Conversion SDK allows developers to use a simple API to convert PDF to the most commonly used file formats like Word, Excel, PPT, HTML, CSV, PNG, JPEG, RTF, TXT, JSON, Markdown, etc. It provides a wealth of customized conversion options, such as whether to include images or annotations in PDF documents, whether to enable OCR or layout analysis, etc.
Get Conversion Progress
ComPDFKit Conversion SDK obtains the conversion progress through block callbacks. The following example demonstrates how to get the conversion progress while performing a PDF to Word task:
objective-c
[LibraryManager setProgress:^(int current, int total) {
NSLog(@"conversion rate: %d/%d", current, total);
} isMT:YES];
WordOptions *options = [[WordOptions alloc] init];
[CPDFConversion startPDFToWord:@"input.pdf" password:@"" outputPath:@"output.docx" options:options];