CPDFKit Class Reference

Inherits from NSObject
Declared in CPDFKit.h

+ sharedInstance

The shared ComPDFKit instance.

+ (instancetype)sharedInstance

Discussion

The shared ComPDFKit instance.

Declared In

CPDFKit.h

+ verifyWithKey:

Activate ComPDFKit with your license key and secret.

+ (CPDFKitLicenseCode)verifyWithKey:(NSString *)key

Discussion

Activate ComPDFKit with your license key and secret.

Declared In

CPDFKit.h

  versionString

Returns the full ComPDFKit product version string. (e.g. “ComPDFKit 1.0.1 for iOS (101)”)

@property (atomic, readonly) NSString *versionString

Discussion

Returns the full ComPDFKit product version string. (e.g. “ComPDFKit 1.0.1 for iOS (101)”)

Declared In

CPDFKit.h

  versionNumber

Returns just the framework version. (e.g. 1.0.1)

@property (atomic, readonly) NSString *versionNumber

Discussion

Returns just the framework version. (e.g. 1.0.1)

Declared In

CPDFKit.h

  buildNumber

The internal build number. Increments with every version.

@property (atomic, readonly) NSUInteger buildNumber

Discussion

The internal build number. Increments with every version.

Declared In

CPDFKit.h

– allowsFeature:

Whether to allow to use specified features.

- (BOOL)allowsFeature:(CPDFKitFeatureType)type

Discussion

Whether to allow to use specified features.

Declared In

CPDFKit.h

– convertFilePath:toPath:completion:

Convert files (doc, docx, xls, xlsx, ppt, pptx, txt, jpeg, and png) to PDF.

- (void)convertFilePath:(NSString *)filePath toPath:(NSString *)pdfFilePath completion:(void ( ^ ) ( BOOL result ))completion

Discussion

Convert files (doc, docx, xls, xlsx, ppt, pptx, txt, jpeg, and png) to PDF.

Declared In

CPDFKit.h