Skip to content

Commit b5cec8f

Browse files
authored
Merge pull request #598 from ztyyLV/Jackson-branch
Update WebTwain_Acquire.md
2 parents d7bd4eb + 03b9833 commit b5cec8f

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

info/api/WebTwain_Acquire.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1974,23 +1974,23 @@ Example argument for the parameter `fileName`
19741974
- "C:\\webtwain" + <> + ".jpg": The scanned images will result in "C:\\webtwain1.jpg", "C:\\webtwain2.jpg", "C:\\webtwain3.jpg", etc.
19751975
- "C:\\webtwain" + <%06d> + ".jpg": The scanned images will result in "C:\\webtwain000001.jpg", "C:\\webtwain000002.jpg", "C:\\webtwain000003.jpg", etc.
19761976

1977-
Check out the available formats [Dynamsoft.DWT.EnumDWT_FileFormat]({{site.info}}api/Dynamsoft_Enum.html#dynamsoftdwtenumdwt_fileformat-).
1977+
Check out the available formats [Dynamsoft.DWT.EnumDWT_FileFormat]({{site.info}}api/Dynamsoft_Enum.html#dynamsoftdwtenumdwt_fileformat).
19781978

19791979
**Example**
19801980

19811981
```javascript
19821982
DWObject.OpenSource();
19831983
DWObject.TransferMode = Dynamsoft.DWT.EnumDWT_TransferMode.TWSX_FILE;
19841984
if (DWObject.TransferMode === Dynamsoft.DWT.EnumDWT_TransferMode.TWSX_FILE) {
1985-
if (
1986-
DWObject.SetFileXferInfo(
1987-
"C:\\Temp\\WebTWAIN<%06d>.bmp",
1988-
Dynamsoft.DWT.EnumDWT_FileFormat.TWFF_BMP
1989-
)
1990-
) {
1991-
DWObject.IfShowUI = true;
1992-
DWObject.AcquireImage();
1993-
}
1985+
if (
1986+
DWObject.SetFileXferInfo(
1987+
"C:\\Temp\\WebTWAIN<%06d>.bmp",
1988+
Dynamsoft.DWT.EnumDWT_FileFormat.TWFF_BMP
1989+
)
1990+
) {
1991+
DWObject.IfShowUI = true;
1992+
DWObject.AcquireImage();
1993+
}
19941994
}
19951995
```
19961996

@@ -2154,6 +2154,8 @@ The value of this property defaults to `true` , which means that the newly acqui
21542154

21552155
If it's set to `false` , the images will be inserted before the current image. The important thing to note is that, by design, the current image is always the last acquired one which means that the images acquired after setting `IfAppendImage` to `false` will be displayed / retained in the reverse order.
21562156

2157+
Here is an [article]({{site.faq}}insert-new-pages-to-existing-document.html#can-i-insert-newly-scanned-pages-to-an-existing-document) to demonstrate how to insert new images to a specified index.
2158+
21572159
---
21582160

21592161
## IfDisableSourceAfterAcquire

0 commit comments

Comments
 (0)