With the default settings, the text fields are recognized in capital letters. However, it is possible to provide text fields with different spellings using the convertCase query parameter.
Possible settings convertCase:
- No change = 0
- Only uppercase letters = 1
- Small letters only = 2
- First uppercase letters = 3
Note
This setting affects the output of ALL text fields except dates, numbers, country codes, and issuing authority codes.
As an example, we will use this query to capitalize the first character of a text box and lowercase the rest.
Example for Web API demo page
- In the Custom parameters field use the parameter:
{ "convertCase" : 3}
- When using JSON-request:
{
"processParam": {
"scenario": "FullProcess",
"customParams": {
"convertCase": 3
},
"doublePageSpread": true
},
Using Document Reader SDK
To use this function in the Document Reader application, place the RegulaReader.json file from the archive in the following folder:
- For x86 version C:\Users\%User%\AppData\Local\Regula\Document Reader SDK
- For x64 version C:\Users\%User%\AppData\Local\Regula\Document Reader SDK (x64)
You can change the value of the convertCase parameter to the required.
Example of output:
Comments
Please sign in to leave a comment.