SetViewMode Method
Description
Sets the view mode that images are displayed in Dynamic Webcam. You can use this method to display multiple images in Dynamic Webcam.
ActiveX Edition | Plug-in Edition | Mac Edition |
---|---|---|
Since V5.1 | Since V5.1 | Since V6.4 |
Syntax
Void ObjectName. SetViewMode(Short sHorizontalImageCount, Short sVerticalImageCount)
Parameters
Short sHorizontalImageCount: specifies how many columns can be displayed in Dynamic Webcam.
Short sVerticalImageCount: specifies how many rows can be displayed in Dynamic Webcam.
Return value
Void.
Remarks
The default is 1 by 1.
When the view mode is set to -1 by -1, Dynamic Webcam 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