Skip to content

Commit 50cbafd

Browse files
authored
Merge pull request #169 from icfung828/master
Update WebTwain_Acquire.md
2 parents e546326 + ba6ec0d commit 50cbafd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

info/api/WebTwain_Acquire.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5016,7 +5016,7 @@ interface CapabilitySetup {
50165016
/**
50175017
* The value to set to the capability or the value of the capability after setting.
50185018
*/
5019-
curValue: number | string;
5019+
curValue: number | string; //array is not supported
50205020
errorCode?: number;
50215021
errorString?: string;
50225022
/**
@@ -5073,16 +5073,16 @@ DWObject.setCapabilities(
50735073
exception: "ignore",
50745074
capabilities: [
50755075
{
5076-
capability: 4376, //your own capability
5077-
curValue: 200, //your own curValue
5076+
capability: Dynamsoft.DWT.EnumDWT_Cap.ICAP_CONTRAST, // your own capability
5077+
curValue: 500, // your own curValue
50785078
},
50795079
{
5080-
capability: 4377, //your own capability
5080+
capability: Dynamsoft.DWT.EnumDWT_Cap.CAP_PRINTERSTRING, // your own capability
50815081
curValue: "abc", // your own curValue
50825082
exception: "fail",
50835083
},
50845084
{
5085-
capability: 257, // your own capability
5085+
capability: Dynamsoft.DWT.EnumDWT_Cap.ICAP_PIXELTYPE, // your own capability
50865086
curValue: 0, // your own curValue
50875087
},
50885088
],

0 commit comments

Comments
 (0)