iOS
ComPDFKit Conversion SDK
Guides

Convert PDF Documents to PPT Documents

 

// Get the path of the PDF file.
NSString *pdfPath = @"...";
// Get the path to the PPT file.
NSString *outputPath = @"...";

CPDFConvertPPTOptions *options = [[CPDFConvertPPTOptions alloc] init] autorelease];
[options setIsAllowOCR:YES];
[options setIsContainImages:NO];
[options setIsContainOCRBgImage:NO];
[options setIsContainAnnotations:NO];
[options setLanguage:COCRLanguageEnglish];

CPDFConverterPPT *converter = [[[CPDFConverterPPT alloc] initWithURL:[NSURL fileURLWithPath:pdfPath] password:nil] autorelease];
[converter convertToFilePath:outputPath pageIndexs:nil options:nil];