This method selects multiple objects whose numbers are specified in an array.

[Visual Basic] Public Function SelectMultiObjects(index As Integer()) As Boolean
[C#] public bool SelectMultiObjects(int[] index);

Parameters

index
An array of numbers of the images to be selected

Return Value

Returns True if successful, otherwise returns False.

Explanation

The SelectMultiObjects method selects multiple objects whose numbers are specified in the index parameter array.

The object numbers specified in the array do not have to be in order. (This method works in the same way as if you hold down the Ctrl key and click on multiple objects to select them.)

Even if the EditKind property is not set to KindOfEdit.MultiSelect, as a result of executing this method, the  EditKind property will automatically be set to KindOfEdit.MultiSelect.

When using this method, if none of the objects corresponding to the object numbers specified in the index parameter exist, then this method will return False. However, if even one of the objects corresponding to the object numbers specified in the index parameter exists, then that object will be selected and this method will return True.

Example 1:
5 annotation objects exist. You have set these object numbers in the index parameter: {2, 3, 8}. Only the second and third object will be selected and this method will return True.

Example 2:
5 annotation objects exist. You have set these object numbers in the index parameter: {8, 10}. No objects will be selected and False will be returned.

See also

ImageKit.Edit Members | Newtone.ImageKit.Wpf.ImageKit

 

The ImageKit WPF is created by Newtone Corporation