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: info/api/WebTwain_Acquire.md
+74-55Lines changed: 74 additions & 55 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4021,17 +4021,20 @@ DWObject.RegisterEvent("OnPostTransfer", function () {
4021
4021
4022
4022
## OnPostTransferAsync
4023
4023
4024
+
This event is triggered after each page has been scanned and transferred. This is the asynchronous counterpart to the synchronous event {OnPostTransfer}.
4025
+
4024
4026
**Syntax**
4025
4027
4026
4028
```typescript
4027
-
/**
4028
-
* This event is triggered after each page has been scanned and transferred. This is the asynchronous counterpart to the synchronous event {OnPostTransfer}.
4029
-
* @argumentoutputInfo Detailed information about the image that just got transferred.
4030
-
*/
4031
4029
RegisterEvent("OnPostTransferAsync", function (outputInfo:OutputInfo) {});
4032
4030
```
4033
4031
4032
+
**Parameters**
4033
+
4034
+
`outputInfo`: Detailed information about the image that just got transferred.
4035
+
4034
4036
**Availability**
4037
+
4035
4038
<divclass="availability">
4036
4039
<table>
4037
4040
@@ -4089,16 +4092,16 @@ DWObject.RegisterEvent("OnPostTransferAsync", function (outputInfo) {
4089
4092
4090
4093
## OnPreAllTransfers
4091
4094
4095
+
This event is triggered when all images are scanned and ready to be transferred.
4096
+
4092
4097
**Syntax**
4093
4098
4094
4099
```typescript
4095
-
/**
4096
-
* This event is triggered when all images are scanned and ready to be transferred.
4097
-
*/
4098
4100
RegisterEvent("OnPreAllTransfers", function () {});
4099
4101
```
4100
4102
4101
4103
**Availability**
4104
+
4102
4105
<divclass="availability">
4103
4106
<table>
4104
4107
@@ -4136,16 +4139,16 @@ In the callback function of this event, you can call `CancelAllPendingTransfers(
4136
4139
4137
4140
## OnPreTransfer
4138
4141
4142
+
This event is triggered when a page has been scanned and is ready to be transferred.
4143
+
4139
4144
**Syntax**
4140
4145
4141
4146
```typescript
4142
-
/**
4143
-
* This event is triggered when a page has been scanned and is ready to be transferred.
4144
-
*/
4145
4147
RegisterEvent('OnPreTransfer',function(){...});
4146
4148
```
4147
4149
4148
4150
**Availability**
4151
+
4149
4152
<divclass="availability">
4150
4153
<table>
4151
4154
@@ -4180,16 +4183,16 @@ In the callback function of this event, you can
4180
4183
4181
4184
## OnSourceUIClose
4182
4185
4186
+
This event is triggered when the user interface of the data source is closed manually by the user.
4187
+
4183
4188
**Syntax**
4184
4189
4185
4190
```typescript
4186
-
/**
4187
-
* This event is triggered when the user interface of the data source is closed manually by the user.
4188
-
*/
4189
4191
RegisterEvent("OnSourceUIClose", function () {});
4190
4192
```
4191
4193
4192
4194
**Availability**
4195
+
4193
4196
<divclass="availability">
4194
4197
<table>
4195
4198
@@ -4216,23 +4219,14 @@ RegisterEvent("OnSourceUIClose", function () {});
4216
4219
4217
4220
## getCapabilities
4218
4221
4222
+
Gets detailed information about all capabilities of the current data source.
4223
+
4219
4224
**Syntax**
4220
4225
4221
4226
```typescript
4222
-
/**
4223
-
* Gets detailed information about all capabilities of the current data source.
4224
-
* @paramsuccessCallback A callback function that is executed if the request succeeds.
4225
-
* @paramfailureCallback A callback function that is executed if the request fails.
4226
-
* @argumentcapabilityDetails Detailed information about the specified capabilities.
0 commit comments