Skip to content

Instructions

  • The SDK can show an animation to help position a document correctly.

Show/hide the help animation:

DocumentReader.Instance().Customization().Edit().SetShowHelpAnimation(true).Apply();
RGLDocReader.Shared.Customization.ShowHelpAnimation = true;
  • You can add an image for the help animation. If not set, the default image is used:
DocumentReader.Instance().Customization().Edit().SetHelpAnimationImage(GetDrawable(Resource.Drawable.icon)).Apply();
RGLDocReader.Shared.Customization.HelpAnimationImage = UIImage.FromBundle("icon.png");
  • Change the content mode of the help animation image:
DocumentReader.Instance().Customization().Edit().SetHelpAnimationImageScaleType(ImageView.ScaleType.Matrix).Apply();
Matrix matrix = new Matrix();
DocumentReader.Instance().Customization().Edit().SetHelpAnimationImageMatrix(matrix).Apply();
RGLDocReader.Shared.Customization.HelpAnimationImageContentMode = UIViewContentMode.ScaleAspectFit;

Next Steps