| 1234567891011121314151617181920 |
- //
- // PDFUtils.h
- // AntsContract
- //
- // Created by Ray on 12/20/16.
- // Copyright © 2016 United Software Applications, Inc. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- #import <UIKit/UIKit.h>
- @interface PDFUtils : NSObject
- +(NSString*) addSignature :(UIImage*) img to:(NSMutableDictionary*)signatureData subType:(NSString*)subtype;
- +(NSString *) saveTempSignature:(NSData *) image;
- +(CGPDFDocumentRef)OpenPDF:(NSString*) file;
- //+ (CGRect)scaleToSize:(CGRect )from to:(CGSize)to;
- +(NSString*)SavePDF:(NSMutableDictionary*) controlTemplate source:(CGPDFDocumentRef )document window_rect:(CGRect)window_rect;
- +(NSMutableDictionary*) loadControl:(NSString*)templateName;
- @end
|