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: _articles/info/api/interfaces.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,14 +34,14 @@ interface DWTInitialConfig {
34
34
35
35
```typescript
36
36
interfaceContainer {
37
-
WebTwainId?:string; //Id of the WebTwain instance
38
-
ContainerId?:string; //Id of the element
39
-
Width?:string|number; // Width of the element
40
-
Height?:string|number; // Height of the element
37
+
WebTwainId?:string; //ID of the WebTwain instance
38
+
ContainerId?:string; //ID of the container element to bind
39
+
Width?:string|number; // Width of the div element appended to the container
40
+
Height?:string|number; // Height of the div element appended to the container
41
41
}
42
42
```
43
43
44
-
-`WebTwainId` and `ContainerId` are both optional but one must exist as the identifier for that `WebTwain` instance.
44
+
-`WebTwainId` and `ContainerId` are both optional but one must exist as the identifier for that `WebTwain` instance. If you don't need to use the viewer (headless), you can leave `ContainerId` empty.
45
45
-`Width` and `Height` determine the initial size of `Viewer` object.
0 commit comments