PTDocumentViewSettings

@interface PTDocumentViewSettings : NSObject <NSCoding, NSCopying>

- (instancetype)init NS_DESIGNATED_INITIALIZER;
- (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;

@property (nonatomic, assign) TrnPagePresentationMode pagePresentationMode;
@property (nonatomic, assign, getter=isReflowEnabled) BOOL reflowEnabled;

@property (nonatomic, assign) PTColorPostProcessMode colorPostProcessMode;
@property (nonatomic, strong, nullable) UIColor *colorPostProcessWhiteColor;
@property (nonatomic, strong, nullable) UIColor *colorPostProcessBlackColor;

@property (nonatomic, assign, getter=isNightModeEnabled) BOOL nightModeEnabled;

@property (nonatomic, assign) PTRotate pageRotation;

@end

Undocumented

  • Undocumented

    Declaration

    Objective-C

    - (instancetype)init NS_DESIGNATED_INITIALIZER;

    Swift

    init()
  • Undocumented

    Declaration

    Objective-C

    - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;

    Swift

    init?(coder: NSCoder)
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, assign) TrnPagePresentationMode pagePresentationMode

    Swift

    var pagePresentationMode: TrnPagePresentationMode { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, assign, getter=isReflowEnabled) BOOL reflowEnabled

    Swift

    var isReflowEnabled: Bool { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, assign) PTColorPostProcessMode colorPostProcessMode

    Swift

    var colorPostProcessMode: PTColorPostProcessMode { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) UIColor *colorPostProcessWhiteColor

    Swift

    var colorPostProcessWhiteColor: UIColor? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) UIColor *colorPostProcessBlackColor

    Swift

    var colorPostProcessBlackColor: UIColor? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, assign, getter=isNightModeEnabled) BOOL nightModeEnabled

    Swift

    var isNightModeEnabled: Bool { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, assign) PTRotate pageRotation

    Swift

    var pageRotation: PTRotate { get set }