//
//  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;
+(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
