GifSwapPages Method

See Also     Examples     Applies To

Swaps two pages in an editable multipage Gif image.

Syntax

object.GifSwapPages (nImageID, nPage1., nPage2.)

The GifSwapPages syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
nImageID Required. Long. GdPicture Image handle. The editable multipage Gif image in which pages will be swapped.
nPage1. Required. Long. The position of the first page to swap with the second. Must be a value from 1 to the current number of pages available in the multipage Gif image.
nPage2. Required. Long. The position of the second page to swap with the first one. Must be a value from 1 to the current number of pages available in the multipage Gif image.

Returns

Long. GdPictureStatus

Remarks

This function can only be used with an editable multipage Gif image.
To check if an image is an editable multipage Gif image you can use the GifIsEditableMultiPage() function.
To save modifications brought to the multipage Gif image you need to use the GifSaveMultiPageToFile() function.

Category

Gif Manipulation





© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.