PSPDFConversionOperation


@interface PSPDFConversionOperation : NSOperation

Operation that converts many file formats to PDF. Needs to be executed from a thread. Requires the PSPDFFeatureMaskPDFCreation feature flag.

  • Undocumented

    Declaration

    Objective-C

    
    @interface PSPDFConversionOperation : NSOperation
  • Undocumented

    Declaration

    Objective-C

    
    @interface PSPDFConversionOperation : NSOperation
  • Input. Needs to be a file URL.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic) NSURL *_Nonnull inputURL;
  • Output. Needs to be a file URL.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, nullable) NSURL *outputURL;
  • Output data, if data constructor was used.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSData *outputData;
  • Options set for conversion. - see: generatePDFFromURL:outputFileURL:options:completionBlock: for a list of options.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, nullable)
        NSDictionary<NSString *, id> *options;
  • Error if something went wrong.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSError *error;