Skip to content

Indicators

  • Set the hex color code for the visual elements (one for all):
DocReader.shared.customization.tintColor = UIColor.red
[RGLDocReader shared].customization.tintColor = [UIColor redColor];
DocumentReader.Instance().customization().edit().setTintColor("#ff0000").apply()
DocumentReader.Instance().customization().edit().setTintColor("#ff0000").apply();
DocumentReader.instance.customization.tintColor = Colors.red;
DocumentReader.setCustomization({
    tintColor: 0xffff0000
}, (str) => { console.log(str) }, (error) => { console.log(error) });
DocumentReader.setCustomization({
    tintColor: 0xffff0000
});
DocumentReader.setCustomization({
    tintColor: 0xffff0000
}, function (m) { }, function (e) { console.log(e); });
// Android
DocumentReader.Instance().Customization().Edit().SetTintColor("#ff0000").Apply();

// iOS
RGLDocReader.Shared.Customization.TintColor = UIColor.Red;

  • Set the hex color code for the loading indicator(s). You can see it if you tap the Capture button:
DocReader.shared.customization.activityIndicatorColor = UIColor.red
[RGLDocReader shared].customization.activityIndicatorColor = [UIColor redColor];
DocumentReader.Instance().customization().edit().setActivityIndicatorColor("#ff0000").apply()
DocumentReader.Instance().customization().edit().setActivityIndicatorColor("#ff0000").apply();
DocumentReader.instance.customization.activityIndicatorColor = Colors.red;
DocumentReader.setCustomization({
    activityIndicatorColor: 0xffff0000
}, (str) => { console.log(str) }, (error) => { console.log(error) });
DocumentReader.setCustomization({
    activityIndicatorColor: 0xffff0000
});
DocumentReader.setCustomization({
    activityIndicatorColor: 0xffff0000
}, function (m) { }, function (e) { console.log(e); });
// Android
DocumentReader.Instance().Customization().Edit().SetActivityIndicatorColor("#4dba41").Apply();

// iOS
RGLDocReader.Shared.Customization.ActivityIndicatorColor = UIColor.Red;
  • Adjust the size of the loading indicator (Android-only). You can see it if you tap the Capture button:
DocumentReader.Instance().customization().edit().setActivityIndicatorSize(80).apply()
DocumentReader.Instance().customization().edit().setActivityIndicatorSize(80).apply();

Next Steps