ComPDF Objective-C SDK
API Reference Documentation for ComPDF Objective-C SDK
Loading...
Searching...
No Matches
common.h
1#import <Foundation/Foundation.h>
2#import "base_type.h"
3
4
5
11typedef void (^COMProgressBlock)(int current_page, int total_page);
12
17@interface LibraryManager : NSObject
18
23+ (void)initialize:(NSString *)resourcePath;
30+ (ErrorCode)licenseVerify:(NSString *)license;
36+ (void)setProgress:(COMProgressBlock)handler isMT:(BOOL)isMT;
43+ (int)setDocumentAIModel:(NSString *)modelPath
44 ocrLanguages:(NSArray<NSNumber *> *)languages;
49+ (void)setOCRLanguage:(NSArray<NSNumber *> *)languages;
56+ (int)getPageCount:(NSString *)filePath
57 password:(NSString *)password;
62+ (NSString *)getVersion;
66+ (void)release;
71
72@end
Global initializer and utilities for the SDK.
Definition common.h:18
void releaseDocumentAIModel()
Release loaded Document AI model.
NSString * getVersion()
Get SDK version string.
void release()
Release all SDK resources.