Skip to content

Multipage Processing

  • Show/hide the Skip Page button:
DocumentReader.Instance().Functionality().Edit().SetShowSkipNextPageButton(true).Apply();
RGLDocReader.Shared.Functionality.ShowSkipNextPageButton = true;
  • Set the hex color code for the Skip Page button background:
DocumentReader.Instance().Customization().Edit().SetMultipageButtonBackgroundColor("#4287f5").Apply();
RGLDocReader.Shared.Customization.MultipageButtonBackgroundColor = UIColor.Red;

  • Turn on/off the expecting page turn animation:
DocumentReader.Instance().Customization().Edit().SetShowNextPageAnimation(true).Apply();
RGLDocReader.Shared.Customization.ShowNextPageAnimation = true;
  • You can set a front image for the multipage animation. If not set, the default image is used:
DocumentReader.Instance().Customization().Edit().SetMultipageAnimationFrontImage(GetDrawable(Resource.Drawable.icon)).Apply();
RGLDocReader.Shared.Customization.MultipageAnimationFrontImage = UIImage.FromBundle("icon.png");
  • Change the content mode of the front image of the multipage animation:
DocumentReader.Instance().Customization().Edit().SetMultipageAnimationFrontImageScaleType(ImageView.ScaleType.Matrix).Apply();
Matrix matrix = new Matrix();
DocumentReader.Instance().Customization().Edit().SetMultipageAnimationFrontImageMatrix(matrix).Apply();
RGLDocReader.Shared.Customization.MultipageAnimationFrontImageContentMode = UIViewContentMode.ScaleAspectFit;
  • You can set a back image for the multipage animation. If not set, the default image is used:
DocumentReader.Instance().Customization().Edit().SetMultipageAnimationBackImage(GetDrawable(Resource.Drawable.icon)).Apply();
RGLDocReader.Shared.Customization.MultipageAnimationBackImage = UIImage.FromBundle("icon.png");
  • Change the content mode of the back image of the multipage animation:
DocumentReader.Instance().Customization().Edit().SetMultipageAnimationBackImageScaleType(ImageView.ScaleType.Matrix).Apply();
Matrix matrix = new Matrix();
DocumentReader.Instance().Customization().Edit().SetMultipageAnimationBackImageMatrix(matrix).Apply();
RGLDocReader.Shared.Customization.MultipageAnimationBackImageContentMode = UIViewContentMode.ScaleAspectFit;

Next Steps