Dynamic Web TWAIN  - TWAIN ActiveX/Plug-in, Scanner COM Control
TWAIN ActiveX/Plug-in HTTP Control/SDK

SetViewMode Method

Description

Sets the view mode that images are displayed in Dynamic Web TWAIN. You can use this method to display multiple images in Dynamic Web TWAIN.

Syntax

Void ObjectName. SetViewMode(Short sHorizontalImageCount, Short sVerticalImageCount)

Parameters

Short sHorizontalImageCount: specifies how many columns can be displayed in Dynamic Web TWAIN. 

Short sVerticalImageCount: specifies how many rows can be displayed in Dynamic Web TWAIN.

Return value

Void.

Remarks

The default 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.

Screen shot when the view mode is set to 2 by 2. In this view mode, when the number of the images in buffer is larger than 4 (2 x 2), a scroll bar is provide to navigate to other images.

See also

GetViewMode(), ImageMargin property, MouseShape property













TWAIN ActiveX | TWAIN Plug-in | TWAIN Control | TWAIN SDK | Scanner COM
Software Configuration Management | Version Control | Source Control
Copyright © 2011 Dynamsoft Corporation. All Rights Reserved.