Other Constants

The following constants are available globally.

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

    See more

    Declaration

    Objective-C

    extern NSString *const _Nonnull PTPDFViewCtrlPageNumberUserInfoKey

    Swift

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

    See more

    Declaration

    Objective-C

    extern NSString *const _Nonnull PTPDFViewCtrlStreamingEventTypeUserInfoKey

    Swift

    let PTPDFViewCtrlStreamingEventTypeUserInfoKey: String
  • The key for a NSString object containing the message for a streaming event.

    See more

    Declaration

    Objective-C

    extern NSString *const _Nonnull PTPDFViewCtrlStreamingEventMessageUserInfoKey

    Swift

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

    See more

    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.

    See more

    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.

    See more

    Declaration

    Objective-C

    extern NSString *const _Nonnull PTPDFViewCtrlWhiteColorUserInfoKey

    Swift

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

    See more

    Declaration

    Objective-C

    extern NSString *const _Nonnull PTPDFViewCtrlPagePresentationModeUserInfoKey

    Swift

    let PTPDFViewCtrlPagePresentationModeUserInfoKey: String
  • Posted when remote annotations are added.

    The notification object is the collaboration manager that posted the notification. The userInfo dictionary contains entries for the PTCollaborationManagerAnnotationUserInfoKey key.

    See more

    Declaration

    Objective-C

    extern const NSNotificationName _Nonnull PTCollaborationManagerRemoteAnnotationsAddedNotification

    Swift

    static let PTCollaborationManagerRemoteAnnotationsAdded: NSNotification.Name
  • Posted when remote annotations are modified.

    The notification object is the collaboration manager that posted the notification. The userInfo dictionary contains entries for the PTCollaborationManagerAnnotationUserInfoKey key.

    See more

    Declaration

    Objective-C

    extern const NSNotificationName _Nonnull PTCollaborationManagerRemoteAnnotationsModifiedNotification

    Swift

    static let PTCollaborationManagerRemoteAnnotationsModified: NSNotification.Name
  • Posted when remote annotations are removed.

    The notification object is the collaboration manager that posted the notification. The userInfo dictionary contains entries for the PTCollaborationManagerAnnotationUserInfoKey key.

    See more

    Declaration

    Objective-C

    extern const NSNotificationName _Nonnull PTCollaborationManagerRemoteAnnotationsRemovedNotification

    Swift

    static let PTCollaborationManagerRemoteAnnotationsRemoved: NSNotification.Name