SBSDKPDFRendererPageSize

enum SBSDKPDFRendererPageSize : NSUInteger {}

Specifies the desired page size (media box size) for PDF rendering operations.

  • The page has US letter size: 8.5x11 inches. The image is fitted and centered within the page.

    Declaration

    Objective-C

    SBSDKPDFRendererPageSizeLetter

    Swift

    case letter = 0
  • The page has US legal size: 8.5x14 inches. The image is fitted and centered within the page.

    Declaration

    Objective-C

    SBSDKPDFRendererPageSizeLegal

    Swift

    case legal = 1
  • The page has A3 size: 297x420 mm. The image is fitted and centered within the page.

    Declaration

    Objective-C

    SBSDKPDFRendererPageSizeA3

    Swift

    case A3 = 2
  • The page has A4 size: 210x297 mm. The image is fitted and centered within the page.

    Declaration

    Objective-C

    SBSDKPDFRendererPageSizeA4

    Swift

    case A4 = 3
  • The page has A5 size: 148x210 mm. The image is fitted and centered within the page.

    Declaration

    Objective-C

    SBSDKPDFRendererPageSizeA5

    Swift

    case A5 = 4
  • The page has B4 size: 250x353 mm. The image is fitted and centered within the page.

    Declaration

    Objective-C

    SBSDKPDFRendererPageSizeB4

    Swift

    case B4 = 5
  • The page has B5 size: 176x250 mm. The image is fitted and centered within the page.

    Declaration

    Objective-C

    SBSDKPDFRendererPageSizeB5

    Swift

    case B5 = 6
  • The page has US executive size: 7.25x10.5 inches. The image is fitted and centered within the page.

    Declaration

    Objective-C

    SBSDKPDFRendererPageSizeExecutive

    Swift

    case executive = 7
  • The page has US 4x6 size: 4x6 inches. The image is fitted and centered within the page.

    Declaration

    Objective-C

    SBSDKPDFRendererPageSizeUS4x6

    Swift

    case us4x6 = 8
  • The page has US 4x6 size: 4x8 inches. The image is fitted and centered within the page.

    Declaration

    Objective-C

    SBSDKPDFRendererPageSizeUS4x8

    Swift

    case us4x8 = 9
  • The page has US 5x7 size: 4x6 inches. The image is fitted and centered within the page.

    Declaration

    Objective-C

    SBSDKPDFRendererPageSizeUS5x7

    Swift

    case us5x7 = 10
  • The page has COMM10 size: 4.125x9.5 inches. The image is fitted and centered within the page.

    Declaration

    Objective-C

    SBSDKPDFRendererPageSizeCOMM10

    Swift

    case COMM10 = 11
  • Each page is as large as its image at 72 dpi.

    Declaration

    Objective-C

    SBSDKPDFRendererPageSizeCustom

    Swift

    case custom = 12