Other Constants

The following constants are available globally.

  • The key for a NSNumber object containing an int page number.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PTPDFViewCtrlPageNumberUserInfoKey

    Swift

    let PTPDFViewCtrlPageNumberUserInfoKey: String
  • The key for a NSNumber object containing a PTDownloadedType.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PTPDFViewCtrlStreamingEventTypeUserInfoKey

    Swift

    let PTPDFViewCtrlStreamingEventTypeUserInfoKey: String
  • The key for a NSNumber object containing a PTColorPostProcessMode.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PTPDFViewCtrlColorPostProcessModeUserInfoKey

    Swift

    let PTPDFViewCtrlColorPostProcessModeUserInfoKey: String
  • The key for a UIColor object containing the color that black is mapped to.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PTPDFViewCtrlBlackColorUserInfoKey

    Swift

    let PTPDFViewCtrlBlackColorUserInfoKey: String
  • The key for a UIColor object containing the color that white is mapped to.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PTPDFViewCtrlWhiteColorUserInfoKey

    Swift

    let PTPDFViewCtrlWhiteColorUserInfoKey: String
  • The key for a NSNumber object containing a TrnPagePresentationMode.

    Declaration

    Objective-C

    extern NSString *const _Nonnull PTPDFViewCtrlPagePresentationModeUserInfoKey

    Swift

    let PTPDFViewCtrlPagePresentationModeUserInfoKey: String