PSPDFNewPageConfigurationBuilder

Undocumented

  • The page size. This is CGSizeZero by default - the size of the first page in the resulting document will be used.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) CGSize pageSize;

    Swift

    var pageSize: CGSize { get set }
  • Can only be 0, 90, 180 or 270. This is 0 by default.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) NSUInteger pageRotation;

    Swift

    var pageRotation: UInt { get set }
  • The background color. If nil, the PDF page will not have a background color specified.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic, nullable) UIColor *backgroundColor;

    Swift

    var backgroundColor: NSColor? { get set }
  • Add a image or PDF file to the page.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic, nullable) PSPDFProcessorItem *item;

    Swift

    var item: PSPDFProcessorItem? { get set }
  • Allows you to specify page margins. This allows you to align items around the page margins instead of the edge of the document.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) UIEdgeInsets pageMargins;

    Swift

    var pageMargins: NSEdgeInsets { get set }