Description

Returns one of the frames being managed by this image

Property type

A McFrame object.  

[out, retval]

Syntax

object.Frame([FrameIndex])

The Frame Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McImage.
FrameIndexOptional. A Long value.

If given, the FrameIndex of the frame to return. If not given, McActiveFrame is assumed, so that the frame at the ActiveFrameIndex is returned. McLastFrame is also a legal value.

Remarks

Gives access to an individual McFrame instance.

Exceptions

The given FrameIndex must be either McActiveFrame, McLastFrame or a value from 0 to FrameCount-1. This method will fail if the FrameCount is zero.