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
+12-10Lines changed: 12 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1974,23 +1974,23 @@ Example argument for the parameter `fileName`
1974
1974
- "C:\\webtwain" + <> + ".jpg": The scanned images will result in "C:\\webtwain1.jpg", "C:\\webtwain2.jpg", "C:\\webtwain3.jpg", etc.
1975
1975
- "C:\\webtwain" + <%06d> + ".jpg": The scanned images will result in "C:\\webtwain000001.jpg", "C:\\webtwain000002.jpg", "C:\\webtwain000003.jpg", etc.
1976
1976
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).
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
+
}
1994
1994
}
1995
1995
```
1996
1996
@@ -2154,6 +2154,8 @@ The value of this property defaults to `true` , which means that the newly acqui
2154
2154
2155
2155
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.
2156
2156
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.
0 commit comments