Skip to content

Multipage Processing

  • Show/hide the Skip Page button:
DocumentReader.Instance().functionality().edit().setShowSkipNextPageButton(true).apply();
DocumentReader.Instance().functionality().edit().setShowSkipNextPageButton(true).apply()
  • Set the hex color code for the Skip Page button background:
DocumentReader.Instance().customization().edit().setMultipageButtonBackgroundColor("#ff0000").apply();
DocumentReader.Instance().customization().edit().setMultipageButtonBackgroundColor("#ff0000").apply()

  • Turn on/off the expecting page turn animation:
DocumentReader.Instance().customization().edit().setShowNextPageAnimation(true).apply();
DocumentReader.Instance().customization().edit().setShowNextPageAnimation(true).apply()
  • You can set a front image for the multipage animation. If not set, the default image is used:
DocumentReader.Instance().customization().edit().setMultipageAnimationFrontImage(getResources().getDrawable(R.drawable.icon)).apply();
DocumentReader.Instance().customization().edit().setMultipageAnimationFrontImage(getDrawable(R.drawable.icon)).apply()
  • To change the scaling of front image of the multipage animation, use one of the ImageView.ScaleType members:
DocumentReader.Instance().customization().edit().setMultipageAnimationFrontImageScaleType(ImageView.ScaleType.MATRIX).apply();
Matrix matrix = new Matrix();
DocumentReader.Instance().customization().edit().setMultipageAnimationFrontImageMatrix(matrix).apply();
DocumentReader.Instance().customization().edit().setMultipageAnimationFrontImageScaleType(ImageView.ScaleType.MATRIX).apply()
val matrix = Matrix()
DocumentReader.Instance().customization().edit().setMultipageAnimationFrontImageMatrix(matrix).apply()
  • You can set a back image for the multipage animation. If not set, the default image is used:
DocumentReader.Instance().customization().edit().setMultipageAnimationBackImage(getResources().getDrawable(R.drawable.icon)).apply();
DocumentReader.Instance().customization().edit().setMultipageAnimationBackImage(getDrawable(R.drawable.icon)).apply()
  • To change the scaling of a back image of the multipage animation, use one of the ImageView.ScaleType members:
DocumentReader.Instance().customization().edit().setMultipageAnimationBackImageScaleType(ImageView.ScaleType.MATRIX).apply();
Matrix matrix = new Matrix();
DocumentReader.Instance().customization().edit().setMultipageAnimationBackImageMatrix(matrix).apply();
DocumentReader.Instance().customization().edit().setMultipageAnimationBackImageScaleType(ImageView.ScaleType.MATRIX).apply()
val matrix = Matrix()
DocumentReader.Instance().customization().edit().setMultipageAnimationBackImageMatrix(matrix).apply()

Next Steps