Skip to content

Hologram Detection

  • You can add an image for the hologram animation. If not set, the default image is used:
DocumentReader.Instance().Customization().Edit().SetHologramAnimationImage(GetDrawable(Resource.Drawable.icon)).Apply();
RGLDocReader.Shared.Customization.HologramAnimationImage = UIImage.FromBundle("icon.png");
  • Change the content mode of the hologram animation image:
DocumentReader.Instance().Customization().Edit().SetHologramAnimationImageScaleType(ImageView.ScaleType.Matrix).Apply();
Matrix matrix = new Matrix();
DocumentReader.Instance().Customization().Edit().SetHologramAnimationImageMatrix(matrix).Apply();
RGLDocReader.Shared.Customization.HologramAnimationImageContentMode = UIViewContentMode.ScaleAspectFit;
  • Change the vertical position of the hologram animation image:
DocumentReader.Instance().Customization().Edit().SetHologramAnimationPositionMultiplier((Java.Lang.Float)0.5F).Apply();
RGLDocReader.Shared.Customization.HologramAnimationPositionMultiplier = 0.5F;

Next Steps