Dev Center
Table of contents

How to create custom settings template?

One of the strengths of the Dynamsoft Barcode Reader is its wide range of cuztomizable options that can optimize the performance of the SDK. Whether you are looking to prioritize read rate or speed, these settings can be used in many ways to match the targeted use case.

If you are looking to create your own custom template of settings to use with the [InitSettingsFromFile][https://www.dynamsoft.com/capture-vision/docs/server/programming/cplusplus/api-reference/capture-vision-router/settings.html?product=dbr&repoType=server#initsettingsfromfile] methods, here are the steps:

  1. Visit the main online demo.

  2. Once on that page, you will find the settings menu on the left-hand side. Please note that you can access the full settings by clicking on Advanced Settings

  3. Edit the settings that you want

  4. Once you’re ready to get the template, scroll down to the bottom of the settings menu to find the full settings as a Struct or a Template. The struct is the more readable version of the template, but the actual JSON code will be under Template.

  5. Copy the JSON code under Template and paste it into your own JSON file, or you can download the template JSON file straight from the demo.

  6. The template you downloaded is currently Barcode Reader version 9 template and the latest version is version 10. Use the TemplateConverter Tool to convert the template to Barcode Reader version 10 compatible template.

And with that, you have your own template to use with the InitSettingsFromFile method!

This page is compatible for:

Is this page helpful?

YesYes NoNo

latest version

  • Latest version
  • Version 10.x
    • Version 10.2.0
    • Version 10.0.21
    • Version 10.0.20
    • Version 10.0.10
    • Version 10.0.0
  • Version 9.x
    • Version 9.6.42
    • Version 9.6.40
    • Version 9.6.33
    • Version 9.6.32
    • Version 9.6.31
    • Version 9.6.30
    • Version 9.6.20
    • Version 9.6.10
    • Version 9.6.0
    • Version 9.4.0
    • Version 9.2.0
    • Version 9.0.0
  • Version 8.x
    • Version 8.8.0
    • Version 8.6.0
    • Version 8.4.0
    • Version 8.2.0
    • Version 8.1.2
    • Version 8.1.0
    • Version 8.0.0
  • Version 7.x
    • Version 7.6.0
    • Version 7.5.0
  • Documentation Homepage
Change +