Skip to content

Instructions

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

Show/hide the help animation:

DocumentReader.setConfig({
    customization: {
        showHelpAnimation: true
    },
}, function (m) { }, function (e) { console.log(e); });
  • You can add an image for the help animation. If not set, the default image is used:
DocumentReader.setConfig({
    customization: {
        helpAnimationImage: "Base64String"
    },
}, function (m) { }, function (e) { console.log(e); });
  • Change the content mode of the help animation image:
DocumentReader.setConfig({
    customization: {
        helpAnimationImageContentMode: DocumentReader.Enum.UIViewContentMode.ScaleAspectFit
    },
}, function (m) { }, function (e) { console.log(e); });

Next Steps