Click or drag to resize

McFrames Interface

The McFrames object is a collection of the frames of an image.

Namespace:  MediaCy.IQL.Engine
Assembly:  MediaCy.IQL.Engine (in MediaCy.IQL.Engine.dll) Version: 10.0.6912.0
Syntax
VB
Public Interface McFrames
	Inherits IMcFrames
Remarks
The McFrames collection can be used to access the individual McFrame objects that make up an image, which can have from zero to many frames. Unlike many collections, it is not possible to add or "set" frames from this collection - it is a read-only collection reporting the frames that currently make up the image. As such, the usual shortcut to access an item by indexing the collection itself will not work - the more explicit coding using the Item property is necessary (see Examples).
Examples
VB
' Get access to the active (displayed) frame of the image
Dim Frame as MediaCy.IQL.Engine.McFrame
' Note that the common shortcut Frames(index) will generate a syntax error
Frame = ThisApplication.ActiveImage.Frames.Item(ActiveImage.ActiveFrameIndex)
See Also