iOS
ComPDFKit Conversion SDK
Guides

Convert PDF Documents to HTML Documents  

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

CPDFConvertHtmlOptions *options = [[[CPDFConvertHtmlOptions alloc] init] autorelease];
[options setPaneOptions:CPDFConvertHtmlSinglePage];

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