You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: faq/failed-to-load-resource.md
+18-2Lines changed: 18 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,10 +33,26 @@ In this case, if you are trying to access an application that integrates a versi
33
33
Note: the new certificate from Dynamsoft will expire on December 8th, 2023. This means you will need to update the certificate again after this certificate expires.
34
34
- Method 3. <ahref="{{site.about}}getsupport.html"target="_blank">Contact Dynamsoft</a> for a new MSI for client-side.
35
35
36
-
37
-
38
36
- For v17.2 or higher versions, use the new API <ahref="{{site.info}}api/Dynamsoft_WebTwainEnv.html#updatecert"target="_blank">UpdateCert</a> to automatically update the client side certificate before it expires.
39
37
38
+
- If you want to automatically update the certificate, please add following code:
39
+
40
+
```javascript
41
+
// Add the code in dynamsoft.webtwain.configure.js file
Read an image in the buffer and try to locate and decode barcode(s) on it.
27
+
26
28
**Syntax**
27
29
28
30
```typescript
29
-
/**
30
-
* Read an image in the buffer and try to locate and decode barcode(s) on it.
31
-
* @paramindex Specify the image to decode.
32
-
*/
33
31
decode(index: number): Promise<ITextResults> ;
34
32
35
33
interfaceTextResults {
@@ -128,7 +126,12 @@ interface Result {
128
126
}
129
127
```
130
128
129
+
**Parameters**
130
+
131
+
`index`: Specify the image to decode.
132
+
131
133
**Availability**
134
+
132
135
<divclass="availability">
133
136
<table>
134
137
@@ -155,12 +158,11 @@ interface Result {
155
158
156
159
## getRuntimeSettings
157
160
161
+
Get the current runtime settings.
162
+
158
163
**Syntax**
159
164
160
165
```typescript
161
-
/**
162
-
* Get the current runtime settings.
163
-
*/
164
166
getRuntimeSettings(): Promise<RuntimeSettings> ;
165
167
166
168
interfaceRuntimeSettings {
@@ -238,37 +240,20 @@ interface Region {
238
240
239
241
## updateRuntimeSettings
240
242
243
+
Update the runtime settings with a given object or use the string "speed", "balance", or "coverage" to use our preset settings. The default setting is "coverage".
244
+
241
245
**Syntax**
242
246
243
247
```typescript
244
-
/**
245
-
* Update the runtime settings with a given object or use the string "speed", "balance", or "coverage" to use our preset settings. The default setting is "coverage".
0 commit comments