GSKPDFDocument

@interface GSKPDFDocument : NSObject

Describes the structure of a PDF document for the PDF generator.

  • If provided, this title will be included in the PDF document properties

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *title;

    Swift

    var title: String? { get }
  • If provided, this password will be used to protect the PDF document. It will need to be entered to view or edit the document. RC4 encryption algorithm is used with a 128-bit key.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *password;

    Swift

    var password: String? { get }
  • If provided, the keywords will be included in the PDF document properties

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *keywords;

    Swift

    var keywords: String? { get }
  • List of pages that will be included in the PDF document

    Declaration

    Objective-C

    @property (nonatomic, readonly, nonnull) NSArray<GSKPDFPage *> *pages;

    Swift

    var pages: [GSKPDFPage] { get }