SetSelectedImageIndex Method
Description
Sets the index of the selected image.
| ActiveX Edition | Plug-in Edition | Mac Edition | 
|---|---|---|
| Since V7.0 | Since V7.0 | Since V7.0 | 
Syntax
ObjectName. SetSelectedImageIndex(short SelectedIndex, short newVal)
Parameters
Short SelectedIndex: specifies the index of the selected image
Short newVal: specifies the index of the image to be seletced
Return values
Void
Remarks
This method is invalid when the view mode is set to -1 by -1 or 1 by 1.
See also
SetViewMode method, SelectedImagesCount property, SaveSelectedImagesToBytes(), AllowMultiSelect property
Copyright © 2012 Dynamsoft Corporation.All Rights Reserved.
