Click or drag to resize

IMcImageSetSourcesFind Method

Finds a source based on matching the Image and FrameOrFrameIndex supplied.

Namespace:  MediaCy.IQL.Sets
Assembly:  MediaCy.IQL.Sets (in MediaCy.IQL.Sets.dll) Version: 10.0.6912.0
Syntax
VB
Function Find ( 
	Image As McImage,
	FrameOrFrameIndex As Object
) As McImageSetSource

Parameters

Image
Type: MediaCy.IQL.EngineMcImage
The image to look for
FrameOrFrameIndex
Type: SystemObject
The frame to look for, as a McFrame reference or as a frame index

Return Value

Type: McImageSetSource
Returns the specified source or Nothing if it is not found.
Remarks
Finds a source based on matching the Image and FrameOrFrameIndex supplied. The FrameOrFrameIndex parameter can be an empty variant, in which case the first source from the specified image will be returned (if any). The parameter can also be a McFrame, or a FrameIndex (long), in which case the method will return what is likely to be the only source in the set matching both the Image and specified frame. If the FrameOrFrameIndex parameter is a McFrame object, then the Image parameter need not be specified (use Nothing).
See Also