Other Type Definitions

The following type definitions are available globally.

  • Undocumented

    See more

    Declaration

    Objective-C

    typedef uint32_t PTPDFPageNumber

    Swift

    typealias PTPDFPageNumber = UInt32
  • Undocumented

    See more

    Declaration

    Objective-C

    typedef size_t SignatureHandlerId

    Swift

    typealias SignatureHandlerId = Int
  • Undocumented

    See more

    Declaration

    Objective-C

    typedef SignatureHandlerId PTSignatureHandlerId

    Swift

    typealias PTSignatureHandlerId = SignatureHandlerId
  • Undocumented

    See more

    Declaration

    Objective-C

    typedef void (*PTJobRequestProcHandler)(PTResultState state, const char *filePath, void *customData)

    Swift

    typealias PTJobRequestProcHandler = (PTResultState, UnsafePointer<CChar>?, UnsafeMutableRawPointer?) -> Void
  • Keys of entries that can be included in a refresh-appearance request’s user info dictionary.

    See more

    Declaration

    Objective-C

    typedef NSString *PTAnnotationRefreshAppearanceUserInfoKey

    Swift

    struct PTAnnotationRefreshAppearanceUserInfoKey : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
  • Defines the keys used to create an AnnotationStylePresets.plist file to define what the initial annotation properties are.

    See more

    Declaration

    Objective-C

    typedef NSString *PTAnnotStylePresetKey

    Swift

    struct PTAnnotStylePresetKey : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
  • Constants to identify different conversion types.

    See more

    Declaration

    Objective-C

    typedef NSString *PTConversionTaskType

    Swift

    struct PTConversionTaskType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
  • Constants to identify conversion job status.

    See more

    Declaration

    Objective-C

    typedef NSString *const PTDocumentConversionJobStatus

    Swift

    struct PTDocumentConversionJobStatus : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    typedef NSString * PTMeasurementUnitType

    Swift

    struct PTMeasurementUnitType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
  • Options for reading documents.

    See more

    Declaration

    Objective-C

    typedef NSString *PTPDFDocumentReadOptionKey

    Swift

    struct ReadOptionKey : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
  • Options for writing documents.

    See more

    Declaration

    Objective-C

    typedef NSString *PTPDFDocumentWriteOptionKey

    Swift

    struct WriteOptionKey : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    typedef NSString * PTPDFDocumentNotificationUserInfoKey

    Swift

    struct NotificationUserInfoKey : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    typedef NSString * PTStampType

    Swift

    struct PTStampType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable
  • Represents options for filtering which pages appear in the PTThumbnailsViewController.

    See more

    Declaration

    Objective-C

    typedef NSString *PTFilterMode

    Swift

    struct PTFilterMode : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable, @unchecked Sendable