Package 

Class PsPdfKitPreferencesEditor

    • Method Summary

      Modifier and Type Method Description
      PsPdfKitPreferences getPreferences()
      final EnumPreference<Fit> getFit() Indicates how pages should be laid out within the viewport.
      final Preference<Boolean> getOffsetFirstPage() Indicates if the first page should be displayed in its own spread.
      final RangePreference<Double> getPageSpacing() Space between pages in dp.
      final EnumPreference<ReadingProgression> getReadingProgression() Direction of the horizontal progression across pages.
      final Preference<Boolean> getScroll() Indicates if pages should be handled using scrolling instead of pagination.
      final EnumPreference<Axis> getScrollAxis() Indicates the axis along which pages should be laid out in scroll mode.
      final EnumPreference<Spread> getSpread() Indicates if the publication should be rendered with a synthetic spread (dual-page).
      Unit clear() Reset all preferences.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getFit

         final EnumPreference<Fit> getFit()

        Indicates how pages should be laid out within the viewport.

      • getOffsetFirstPage

         final Preference<Boolean> getOffsetFirstPage()

        Indicates if the first page should be displayed in its own spread.

        Only effective when:

      • getReadingProgression

         final EnumPreference<ReadingProgression> getReadingProgression()

        Direction of the horizontal progression across pages.

      • getScroll

         final Preference<Boolean> getScroll()

        Indicates if pages should be handled using scrolling instead of pagination.

      • getScrollAxis

         final EnumPreference<Axis> getScrollAxis()

        Indicates the axis along which pages should be laid out in scroll mode.

        Only effective when scroll is on.

      • getSpread

         final EnumPreference<Spread> getSpread()

        Indicates if the publication should be rendered with a synthetic spread (dual-page).

        Only effective when scroll is off.