PSPDFPagePattern


@interface PSPDFPagePattern : PSPDFModel

Represents a page pattern option for new pages.

  • Undocumented

    Declaration

    Objective-C

    
    @interface PSPDFPagePattern : PSPDFModel
  • Undocumented

    Declaration

    Objective-C

    
    @interface PSPDFPagePattern : PSPDFModel
  • Initializes a new page pattern with the given identifier. Needs to be one of the pattern identifiers defined in PSPDFNewPageConfiguration.h.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithIdentifier:(nonnull NSString *)identifier;

    Swift

    init(identifier: String)
  • The identifier, uniquely identifying the pattern.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSString *_Nonnull identifier;

    Swift

    var identifier: String { get }
  • Localized version of the identifier, suitable for display.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSString *_Nonnull localizedName;

    Swift

    var localizedName: String { get }
  • A thumbnail of the pattern

    Note

    this is a pattern in it self, so you need to draw this as a pattern image.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) UIImage *thumbnail;

    Swift

    var thumbnail: UIImage? { get }