提供强大的渲染引擎,轻松渲染复杂的PDF文档,支持自定义UI和各种功能操作,如单双页布局,连续滚动,书签,大纲和缩略图等。
拥有独立的注释控件。支持添加、删除、编辑、导入、导出、扁平化所有类型的PDF标记以及自定义注释,包括亮高、手绘、文本框、附注等。
支持添加传统的电子签名和数字签名,以跟踪和加速签名工作流程,同时保证签名的真实性和安全性。
可以轻松创建、删除、编辑、填写、扁平化和打印表单域,包括文本域、复选框、单选按钮、下拉列表和签名等。
添加PDF页面管理功能到应用程序,实现PDF文档增加空白页、删除、复制、重排、旋转、裁剪、拆分合并等页面管理的所有需求。
轻松添加、编辑、删除PDF中的文本和图像,同时支持更改文档内容的大小、字体和颜色等。
通过密码、权限等多种方式对PDF文档进行保护。针对共享文件,可添加自定义的页眉页脚、水印、贝茨码来保护知识产权。
对图像、文本和矢量图形中的敏感信息或隐私数据进行不可逆的密文处理,阻止了他人访问敏感信息。同时支持多种方式标记密文。
支持PDF文件转换为符合ISO标准的PDF/A文档,包括PDF/A-1a和PDF/A-1b。为长期、安全地归档电子文件提供解决方案。
提供文档对比功能,对比相似的或不同版本的PDF文档。支持对比文档中的文字、图片、线条等内容。以不同颜色展示PDF文档的编辑、删除、增加等变动。
值得开发者信赖的全功能PDF API,随市场对PDF SDK需求的改变,不断调整我们的SDK产品,提供高性能的PDF开发库,缩短您项目的开发周期。
#import <ComPDFKit/ComPDFKit.h>
- (void)viewDidLoad {
[super viewDidLoad];
// Get the path of a PDF
NSString *pdfPath = @"...";
// Initialize a CPDFDocument object with the path to the PDF file
NSURL *url = [NSURL fileURLWithPath:pdfPath];
CPDFDocument *document = [[[CPDFDocument alloc] initWithURL:url] autorelease];
if (document.error && document.error.code != CPDFDocumentPasswordError) {
return;
}
// Initialize a CPDFView object with the size of the entire screen
CPDFView *pdfView = [[[CPDFView alloc] initWithFrame:self.view.bounds] autorelease];
// Set the document to display
pdfView.document = document;
// Add the pdfView to the root view
[self.view addSubview:pdfView];
}
#import <ComPDFKit/ComPDFKit.h>
- (void)viewDidLoad {
[super viewDidLoad];
// Get the path of a PDF
NSString *pdfPath = @"...";
// Initialize a CPDFDocument object with the path to the PDF file
NSURL *url = [NSURL fileURLWithPath:pdfPath];
CPDFDocument *document = [[[CPDFDocument alloc] initWithURL:url] autorelease];
if (document.error && document.error.code != CPDFDocumentPasswordError) {
return;
}
// Initialize a CPDFView object with the size of the entire screen
CPDFView *pdfView = [[[CPDFView alloc] initWithFrame:self.view.bounds] autorelease];
// Set the document to display
pdfView.document = document;
// Add the pdfView to the root view
[self.view addSubview:pdfView];
}
Get Started
Get ComPDFKit with a 60-day trial, running it into your project within minutes and having a great experience!
Get Started