Click or drag to resize

IMcOMGlobalMcSqueezeSelector Method

Remove negative selector values

Namespace:  MediaCy.IQL.ObjectManager
Assembly:  MediaCy.IQL.ObjectManager (in MediaCy.IQL.ObjectManager.dll) Version: 10.0.6912.0
Syntax
VB
Function McSqueezeSelector ( 
	Selector As Object
) As McObject

Parameters

Selector
Type: SystemObject
An array or scalar value where non-negative elements represent selected indices into an array and negative values represent indices not selected.

Return Value

Type: McObject
A McObject instance holding a selector containing only the non-negative elements of the of the varSelector argument. The returned result will be of type mcobjTypeINTEGER. The returned selector will always be a 1-D array, no matter the shape of the varSelector argument.
Remarks
A selector is an array where non-negative elements represent selected indices into an array and negative values represent indices not selected. The McObject.SelectedValues method takes selectors as arguments and the logical operators (e.g., McOpEQ) return selectors.
See Also