Skip to content

Commit b683c38

Browse files
committed
Merge branch 'master' into preview
2 parents 3e5bfc8 + 3456b38 commit b683c38

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

_articles/extended-usage/file-import.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ description: Dynamic Web TWAIN SDK General Usage Guide - Loading Documents from
99

1010
# Loading Documents from Files
1111

12-
![TIP]
12+
> [!TIP]
1313
> Prerequisite: [DWT Initialization](/_articles/general-usage/initialization.md)
1414
1515
On top of scanning images, DWT can also load documents from files on the file system, or files shared over the network. It can display, edit, and export these documents just the same as scanned images. This flexible design caters to mixed use, scanner-only, or file-only scenarios. We support the following file types: BMP, JPG, TIF, PNG, and PDF. DWT does not support all PDFs due to the complexities of the format, but the PDF rasterizer add-on does provide extra compatibility on top of base support in DWT. We can load in files through the following methods:
1616

17-
![NOTE]
17+
> [!NOTE]
1818
> The PDF rasterizer add-on provides compatibility for a broader range of PDFs. Here we use the add-on script in the `html` head. For any loaded PDFs, the add-on rasterizes every page at the set resolution of 200 DPI. The PDF rasterizer can also selectively rasterize images only - check [`Dynamsoft.DWT.EnumDWT_ConvertMode`](/_articles/info/api/Dynamsoft_Enum.md#dynamsoftdwtenumdwt_convertmode) and [`SetReaderOptions()`](/_articles/info/api/Addon_PDF.md#setreaderoptions) for details.
1919
2020
## Loading Files from the Selection UI

_articles/info/api/WebTwain_Acquire.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -926,6 +926,10 @@ startScan(scanSetup: ScanSetup): Promise<ScanSetup>;
926926
</table>
927927
</div>
928928

929+
**Usage notes**
930+
931+
[`OnPostTransfer`](#onposttransfer), [`OnPostAllTransfers`](#onpostalltransfers) and [`OnPreAllTransfers`](#onprealltransfers) events are not triggered using `startScan()`. You can use the `funcScanStatus` callback instead.
932+
929933
**Sample**
930934

931935
<a href="https://demo.dynamsoft.com/Samples/dwt/Make-use-of-the-API-startScan/index.html" target="_blank">Make use of the API startScan </a>

0 commit comments

Comments
 (0)