GSKPDFGeneratorConfiguration

@interface GSKPDFGeneratorConfiguration : NSObject

A configuration for the PDF generator

  • Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)initWithFontPath:(nullable NSString *)fontPath
                                       debug:(BOOL)debug;

    Swift

    init(fontPath: String?, debug: Bool)
  • Undocumented

    Declaration

    Objective-C

    + (nonnull instancetype)PDFGeneratorConfigurationWithFontPath:(nullable NSString *)fontPath
                                                            debug:(BOOL)debug;
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString * fontPath

    Swift

    var fontPath: String? { get }
  • If true, OCR'ed text will visible on the PDF. Defaults to false

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL debug;

    Swift

    var debug: Bool { get }