SetViewMode()

Description

Sets how the images are displayed in Dynamic Web TWAIN viewer.

Syntax

.SetViewMode(sHorizontalImageCount, sVerticalImageCount);

Parameters

<short> sHorizontalImageCount: specifies the number of columns.
<short> sVerticalImageCount: specifies the number of rows.

Return value

void

Remarks

The default view mode is 1 by 1.

When the view mode is set to -1 by -1, Dynamic Web TWAIN only shows the current image. No scroll bar is provided to navigate to other images.

When the view mode is set to m (m>0) by n (n>0), a vertical scroll bar will be provided to navigate to other images.

When the view mode is set to n (n>=1) by -1, a horizontal scroll bar will be provided to navigate to other images.

See also

ImageMargin
MouseShape