PTDocumentViewSettings

@interface PTDocumentViewSettings : NSObject <NSCoding, NSCopying>

- (instancetype)init NS_DESIGNATED_INITIALIZER;
- (instancetype)initWithDocumentViewSettings:(PTDocumentViewSettings *)documentViewSettings 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, getter=isRightToLeft) BOOL rightToLeft;

@property (nonatomic, assign) PTRotate pageRotation;

@end

Undocumented

  • Undocumented

    Declaration

    Objective-C

    - (instancetype)init NS_DESIGNATED_INITIALIZER;

    Swift

    init()
  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithDocumentViewSettings:(PTDocumentViewSettings *)documentViewSettings NS_DESIGNATED_INITIALIZER;

    Swift

    init(documentViewSettings: PTDocumentViewSettings)
  • Undocumented

    Declaration

    Objective-C

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

    Swift

    init?(coder: NSCoder)
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic) TrnPagePresentationMode pagePresentationMode

    Swift

    var pagePresentationMode: TrnPagePresentationMode { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, getter=isReflowEnabled) BOOL reflowEnabled

    Swift

    var isReflowEnabled: Bool { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic) 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, getter=isNightModeEnabled) BOOL nightModeEnabled

    Swift

    var isNightModeEnabled: Bool { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, getter=isRightToLeft) BOOL rightToLeft

    Swift

    var isRightToLeft: Bool { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic) PTRotate pageRotation

    Swift

    var pageRotation: PTRotate { get set }