Click or drag to resize

IMcCompositeHostAddSource Method

Add one Source.

Namespace:  MediaCy.IQL.Operations
Assembly:  MediaCy.IQL.Operations (in MediaCy.IQL.Operations.dll) Version: 10.0.6912.0
Syntax
VB
Function AddSource ( 
	varNewSource As Object
) As Integer

Parameters

varNewSource
Type: SystemObject
VARIANT source images, McFrames or McFrame instances or arrays thereof. The VARIANT may hold a McImage instance, a string image name or numeric index for an Item in the Images collection. It may also hold a McFrames or McFrame instance or an array of such. McRegionAccess instances are not allowed as sources. If the sources come from multiple McImage instances, then only changes in the currently displayed image are monitored.

Return Value

Type: Int32
The source index of the added source. E.g., the first source added will have an index of zero.
Remarks
Sources are always added to the end of the list of sources.
See Also