PSPDFProcessorItemBuilder

Objective-C


@interface PSPDFProcessorItemBuilder : PSPDFModel

Swift

class PDFProcessorItemBuilder : ModelObject

Undocumented

  • The item can be positioned, scaled and rotated with itemTransform

    Note

    If you specify a itemAlignment, only scale and rotation will be effective.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite)
        CGAffineTransform transform;

    Swift

    var transform: CGAffineTransform { get set }
  • The added image or PDF can be positioned relatively to the page.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite)
        PSPDFRectAlignment alignment;

    Swift

    var alignment: RectAlignment { get set }
  • Specifies if the item alignment should be used. By default NO. If you set a itemAlignment, this will be set to YES automatically.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite)
        BOOL shouldUseAlignment;

    Swift

    var shouldUseAlignment: Bool { get set }
  • Specifies if the item is in the foreground or background. Defaults to PSPDFItemPositionForeground

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite)
        PSPDFItemZPosition zPosition;