PSPDFFormOption

Objective-C


@interface PSPDFFormOption : NSObject <NSSecureCoding>

Swift

class PDFFormOption : NSObject, NSSecureCoding

Contains an option that a PDF form can have.

  • Unavailable

    Not the designated initializer

    Undocumented

    Declaration

    Objective-C

    PSPDF_EMPTY_INIT_UNAVAILABLE
  • Unavailable

    Not the designated initializer

    Undocumented

    Declaration

    Objective-C

    PSPDF_EMPTY_INIT_UNAVAILABLE
  • Initializes an instance of this class with a label and value.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithLabel:(nonnull NSString *)label
                                    value:(nonnull NSString *)value;

    Swift

    init(label: String, value: String)
  • The label of the option which should be presented to the user.

    Declaration

    Objective-C

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

    Swift

    var label: String { get }
  • The value that gets exported for the given option. Can be the same as label

    Declaration

    Objective-C

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

    Swift

    var value: String { get }