PSPDFScrollPerSpreadLayoutContentScale

enum PSPDFScrollPerSpreadLayoutContentScale {}

The content scale describes how each spread lays out its content.

  • Aspect fit results in a spread view having all its pages always visible on screen. Pages are shown in a size so that everything fits the view.

    Declaration

    Objective-C

    PSPDFScrollPerSpreadLayoutContentScaleAspectFit = 0

    Swift

    case aspectFit = 0
  • Aspect fill width means that the content uses the full width of the view even if that means that the height of the spread is larger than the view. The user then needs to scroll to view the full spread.

    Declaration

    Objective-C

    PSPDFScrollPerSpreadLayoutContentScaleAspectFillWidth

    Swift

    case aspectFillWidth = 1
  • Aspect fill height means that the content uses the full height of the view even if that means that the width of the spread is larger than the view. The user then needs to scroll to view the full spread.

    Declaration

    Objective-C

    PSPDFScrollPerSpreadLayoutContentScaleAspectFillHeight

    Swift

    case aspectFillHeight = 2