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: api/class/browseviewer.md
+12-2Lines changed: 12 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,12 +87,14 @@ Browse Viewer is used to display pages in multiple-mode, pages can be multiple s
87
87
|[`currentIndexChanged`](#currentindexchanged)|
88
88
|[`currentPageChanged`](#currentpagechanged)|
89
89
|[`selectedPagesChanged`](#selectedpageschanged)|
90
+
|[`scroll`](#scroll)|
90
91
|[`pagesDragged`](#pagesdragged)|
91
92
|[`pagesDropped`](#pagesdropped)|
92
93
|[`click`](#click)|
93
94
|[`dblclick`](#dbclick)|
94
95
|[`rightclick`](#rightclick)|
95
96
|[`visibilityChanged`](#visibilitychanged)|
97
+
|[`paginationChanged`](#paginationchanged)|
96
98
|[`pointerdown`](#pointerdown)|
97
99
|[`pointermove`](#pointermove)|
98
100
|[`pointerup`](#pointerup)|
@@ -113,7 +115,7 @@ new Dynamsoft.DDV.BrowseViewer(options?: BrowseViewerConstructorOptions);
113
115
114
116
**Parameters**
115
117
116
-
`options`: The constructor options for a `BrowseViewer` instance. Please refer to [`BrowseViewerConstructorOptions`]({{ site.api }}interface/browseviewerconstructoroptions.html).
118
+
`options`: The constructor options for a `BrowseViewer` instance. Please refer to [`BrowseViewerConstructorOptions`](/api/interface/browseviewerconstructoroptions.md).
117
119
118
120
**Code Snippet**
119
121
@@ -1142,7 +1144,7 @@ Triggered when current page is changed.
1142
1144
1143
1145
#### selectedPagesChanged
1144
1146
1145
-
Trigeeredwhenthepage(s) isselected.
1147
+
Triggeredwhenthepage(s) isselected.
1146
1148
1147
1149
***Callback***
1148
1150
@@ -1158,6 +1160,10 @@ Trigeered when the page(s) is selected.
@@ -1193,6 +1199,10 @@ Triggered when page(s) is dropped.
1193
1199
1194
1200
Triggeredwhentheviewer's visibility is changed. It will return an `isVisible` boolean value.
1195
1201
1202
+
#### paginationChanged
1203
+
1204
+
Triggeredwhentheviewer's current page number or the page count is changed. It will return an [`IPaginationChangedEvent`](/api/interface/ipaginationchangedevent.md) object.
Copy file name to clipboardExpand all lines: api/class/captureviewer.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,6 +85,7 @@ Capture Viewer is used to control camera, play video stream, and capture the ima
85
85
|[`dblclick`](#dblclick)|
86
86
|[`rightclick`](#rightclick)|
87
87
|[`visibilityChanged`](#visibilitychanged)|
88
+
|[`paginationChanged`](#paginationchanged)|
88
89
89
90
## Create and Destroy Instances
90
91
@@ -1050,6 +1051,10 @@ Triggered when the used camera is changed.
1050
1051
1051
1052
`newDeviceId`: Thenewcameradeviceid.
1052
1053
1054
+
#### paginationChanged
1055
+
1056
+
Triggeredwhentheviewer's current page number or the page count is changed. It will return an [`IPaginationChangedEvent`](/api/interface/ipaginationchangedevent.md) object.
1057
+
1053
1058
#### visibilityChanged
1054
1059
1055
1060
Triggeredwhentheviewer's visibility is changed. It will return an `isVisible` boolean value.
Copy file name to clipboardExpand all lines: api/class/editviewer.md
+61-3Lines changed: 61 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,6 +73,8 @@ Edit Viewer is used to edit the pages in document, such as, rotating, cropping,
73
73
|[`setAnnotationDrawingStyle()`](#setannotationdrawingstyle)| Set the default drawing style of annotations by annotation type. |
74
74
|[`selectAnnotations()`](#selectannotations)| Select the specified annotation(s) on the current page. |
75
75
|[`getSelectedAnnotations()`](#getselectedannotations)| Get selected annotation(s). |
76
+
|[`getAnnotationDrawingStyle()`](#getannotationdrawingstyle)| Get the annotation drawing style(s). |
77
+
76
78
77
79
**Edit Operations**
78
80
@@ -82,6 +84,7 @@ Edit Viewer is used to edit the pages in document, such as, rotating, cropping,
82
84
|[`crop()`](#crop)| Crop the specified page(s) with the specified rectangle. |
83
85
|[`getCropRect()`](#getcroprect)| Get the crop rectangular selection. |
84
86
|[`setCropRect()`](#setcroprect)| Set a crop rectangular selection on the current page. *This method is only available when [`toolMode`](#toolmode) is `crop` mode.*|
87
+
|[`cropMode`](#cropmode)| Get the current mode for cropping: crop the current image or all the images |
85
88
|[`undo()`](#undo)| Undo the last editing operation. |
86
89
|[`redo()`](#redo)| Redo the last undo operation. |
87
90
|[`saveOperations()`](#saveoperations)| Save the edit operations in pages to document. |
@@ -122,19 +125,24 @@ Edit Viewer is used to edit the pages in document, such as, rotating, cropping,
@@ -150,7 +158,7 @@ new Dynamsoft.DDV.EditViewer(options?: EditViewerConstructorOptions);
150
158
151
159
**Parameters**
152
160
153
-
`options`: The constructor options for an `EditViewer` instance. Please refer to [`EditViewerConstructorOptions`]({{ site.api }}interface/editviewerconstructoroptions.html).
161
+
`options`: The constructor options for an `EditViewer` instance. Please refer to [`EditViewerConstructorOptions`](/api/interface/editviewerconstructoroptions.md).
Triggeredwhentheviewer's undo and redo state is changed. It will return an [`IUndoRedoStateChangedEvent`](/api/interface/iundoredostatechangedevent.md) object.
1821
+
1822
+
#### paginationChanged
1823
+
1824
+
Triggeredwhentheviewer's current page number or the page count is changed. It will return an [`IPaginationChangedEvent`](/api/interface/ipaginationchangedevent.md) object.
Triggeredwhentheviewer's current page number or the page count is changed. It will return an [`IPaginationChangedEvent`](/api/interface/ipaginationchangedevent.md) object.
@@ -36,7 +36,7 @@ This configures the use of keyboard shortcuts for the viewer - please see [`Keyb
36
36
37
37
### viewerConfig
38
38
39
-
The configurations of viewer, please refer to [`BrowseViewerConfig`]({{ site.api }}interface/browseviewerconfig.html). If it is not specified, the [default configuration]({{ site.viewer }}viewerconfig.html#browseviewerconfig) will be applied.
39
+
The configurations of viewer, please refer to [`BrowseViewerConfig`](/api/interface/browseviewerconfig.md). If it is not specified, the [default configuration]({{ site.viewer }}viewerconfig.html#browseviewerconfig) will be applied.
Copy file name to clipboardExpand all lines: api/interface/editviewerconfig.md
+9-2Lines changed: 9 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,8 @@ interface EditViewerConfig {
22
22
quadSelectionStyle?:QuadSelectionStyle;
23
23
enableLoadSourceByDrag?:boolean;
24
24
enableMagnifier?:boolean;
25
-
enableSlide?:boolean;
25
+
enableSlide?:boolean;
26
+
enableAutoScrollForTextSelection?:boolean;
26
27
scrollToLatest?:boolean;
27
28
scrollDirection?:string;
28
29
minZoom?:number;
@@ -56,7 +57,7 @@ Default value: `true`
56
57
57
58
### enableMagnifier
58
59
59
-
Specifies whether or not to display a corner magnifier on the canvas. This feature is primarily used to provide a zoomed-in preview of the selected area for more precise adjustments.
60
+
Specify whether or not to display a corner magnifier on the canvas. This feature is primarily used to provide a zoomed-in preview of the selected area for more precise adjustments.
60
61
61
62
Default value: `true`
62
63
@@ -66,6 +67,12 @@ Specify whether allow to slide the pages.
66
67
67
68
Default value: `true`
68
69
70
+
### enableAutoScrollForTextSelection
71
+
72
+
Specify whether to enable auto scrolling when selecting text if the cursor is around the edges of the viewer.
73
+
74
+
Default value: `true`
75
+
69
76
### scrollToLatest
70
77
71
78
Specify whether to scroll to latest page automatically when importing new pages.
Copy file name to clipboardExpand all lines: api/interface/editviewerconstructoroptions.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ The container which is used to show the viewer. Its `id` or `HTMLElement` is acc
34
34
35
35
### viewerConfig
36
36
37
-
The configurations of viewer, please refer to [`EditViewerConfig`]({{ site.api }}interface/editviewerconfig.html). If it is not specified, the [default configuration]({{ site.viewer }}viewerconfig.html#editviewerconfig) will be applied.
37
+
The configurations of viewer, please refer to [`EditViewerConfig`](/api/interface/editviewerconfig.md). If it is not specified, the [default configuration]({{ site.viewer }}viewerconfig.html#editviewerconfig) will be applied.
0 commit comments