Click or drag to resize

McOMGlobal Interface

The global class implementing the IMcOMGlobal interface exposing globally useful methods for operating on either IMcObject instance or VARIANT data.

Namespace:  MediaCy.IQL.ObjectManager
Assembly:  MediaCy.IQL.ObjectManager (in MediaCy.IQL.ObjectManager.dll) Version: 10.0.6912.0
Syntax
VB
Public Interface McOMGlobal
	Inherits IMcOMGlobal
Remarks
The methods exposed via this class are capable of doing arithmetic and logical operations on numeric data held in either an McObject instance or a VARIANT. The data may be scalar values or shaped as single or multiple dimensioned arrays or vectors. The conversions are very flexible, the major restriction being that arrays of VARIANT must all contain the same type (but not necessarily the same array size) of VARIANT (see example).
Examples
VB
' Show as text a 2-D array with 10 added to each element
var2DArray = Array( Array(1,2,3), Array(10,11,12,13))
Set var2DArray = GlobalTools.McOpAdd( var2DArray, 10) ' Add 10 to each value
MsgBox "2-D array + 10 = " & GlobalTools.McToText( var2DArray).Value 'Show result
See Also