Managing the image control – Kofax DOKuStar Validation User Manual
Page 95
DOKuStar Validation Programming Manual
Page
• 91
Managing the Image Control
The behaviour of the image control, like scrolling and zooming, can also be managed by an add-in. The appropriate
service is called
SourceCtrl
service. Like the other services it must first be provided which is done by the lines
Dim sourceCtrlSink As DOKuStarValidationServices.SourceCtrlService
and Set
sourceCtrlSink = dsValApp.Services("SourceCtrl"):
Let us now implement a special behaviour of the image control. We want to use three key combinations to set the
zoom factor to 300, 200 and 100 respectively and an additional one to scroll to the right.
The zoom factor of the image control can be changed using
sourceCtrlSink.Zoom
. Using
sourceCtrlSink.ScrollTo
allows to scroll to a specified position. In our example we use
Control
+
3
,
Control
+
2
and
Control
+
1
to switch to a specified zoom factor and
Control
+
R
for scrolling to the right.
- Communication Server 10.0.0 (187 pages)
- Communication Server 10.0.0 (44 pages)
- Communication Server 10.0.0 (137 pages)
- Communication Server 10.0.0 (109 pages)
- Communication Server 10.0.0 (10 pages)
- Communication Server 10.0.0 (16 pages)
- Communication Server 10.0.0 (77 pages)
- Communication Server 10.0.0 (8 pages)
- Communication Server 9.1 (35 pages)
- Communication Server 9.1 (203 pages)
- Communication Server 9.1 (130 pages)
- Communication Server 9.1 (16 pages)
- Communication Server 9.1 (113 pages)
- Communication Server 9.1 (9 pages)
- Communication Server 9.1 (85 pages)
- Communication Server 9.1 (8 pages)
- Communication Server 9.1.1 (204 pages)
- Communication Server 9.1.1 (38 pages)
- Communication Server 9.1.1 (127 pages)
- Communication Server 9.1.1 (16 pages)
- Communication Server 9.1.1 (114 pages)
- Communication Server 9.1.1 (9 pages)
- Communication Server 9.1.1 (85 pages)
- Communication Server 9.1.1 (8 pages)
- Communication Server 9.2.0 (203 pages)
- Communication Server 9.2.0 (54 pages)
- Communication Server 9.2.0 (126 pages)
- Communication Server 9.2.0 (14 pages)
- Express 1.0 (17 pages)
- Express 1.1 (21 pages)
- INDICIUS 6.0 (124 pages)
- INDICIUS 6.0 (104 pages)
- INDICIUS 6.0 (105 pages)
- INDICIUS 6.0 (48 pages)
- INDICIUS 6.0 (120 pages)
- INDICIUS 6.0 (15 pages)
- INDICIUS 6.1 (46 pages)
- Transformation Modules 3.5 (26 pages)
- Transformation Modules Invoice Pack 1.0 (26 pages)
- Transformation Modules Invoice Pack 1.0 (29 pages)
- DOKuStar Validation (109 pages)
- DOKuStar Validation (32 pages)
- DOKuStar Validation (24 pages)