Description

This method re-orders the frames of an image.

Return Type

None  

Syntax

object.ReorderFrames ReorderTo, [mciffType]

The ReorderFrames Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McImage.
ReorderToRequired. A Variant value.
The reordering information. This can be a single integer or long to specify that the
 image should be re-ordered to start with the specified frame. It can also be an array of integer or long frame indices,
 one for each frame in the image. The indices indicate which frame from the original ordering should appear at that
 position in the re-ordered image.
      Type - Controls which type of re-ordering is applied.
mciffTypeOptional. A mcImageReorderFramesFlags enumeration, as described in settings.

Settings

The settings for mciffType are:

ConstantValueDescription
 mcrffStartIndex1

The ReorderTo parameter contains the index of the frame that should be the first frame of the image (no reordering of the series of frames)

 mcrffFrameList2

The ReorderTo parameter contains a list of frame indices indicating the new frame order (all frames must be included in the list, with no duplication)

Remarks

Incompatible properties are ignored and don't cause the method to fail.