PSPDFEditingChange


@interface PSPDFEditingChange : PSPDFModel

Represents a change that was performed by PSPDFDocumentEditor. - see: PSPDFDocumentEditor

  • Undocumented

    Declaration

    Objective-C

    
    @interface PSPDFEditingChange : PSPDFModel
  • Undocumented

    Declaration

    Objective-C

    
    @interface PSPDFEditingChange : PSPDFModel
  • Initializes the editing change and sets all data values.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithOperation:(PSPDFEditingOperation)operation
                            affectedPageIndex:(NSUInteger)affectedPageIndex
                         destinationPageIndex:(NSUInteger)destinationPageIndex;

    Swift

    init(operation: PSPDFEditingOperation, affectedPageIndex: UInt, destinationPageIndex: UInt)
  • The operation type.

    Declaration

    Objective-C

    @property (readonly, nonatomic) PSPDFEditingOperation operation;

    Swift

    var operation: PSPDFEditingOperation { get }
  • Which page index was affected.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSUInteger affectedPageIndex;

    Swift

    var affectedPageIndex: UInt { get }
  • The destination page index, if a move was performed.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSUInteger destinationPageIndex;

    Swift

    var destinationPageIndex: UInt { get }