KMConvertURLToPDF.h 684 B

123456789101112131415161718192021222324252627
  1. //
  2. // KMConvertURLToPDF.h
  3. // PDF Reader
  4. //
  5. // Created by 丁林圭 on 2019/3/11.
  6. // Copyright © 2019年 Kdan Mobile. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface KMConvertURLToPDF : NSObject
  11. @property (nonatomic,retain) NSString * fileName;
  12. + (KMConvertURLToPDF *)shareInstance;
  13. - (void)convertUrlToPDF:(NSArray <NSURL *>*)urls
  14. toPath:(NSString *)toPath
  15. pageSize:(CGSize)pageSize
  16. gap:(CGFloat)gap
  17. progress:(void (^)(CGFloat value))progress
  18. completionHandler:(void (^) (NSArray *successArray,NSArray *failArray))handler;
  19. @end
  20. NS_ASSUME_NONNULL_END