This defines what to do with the logical canvas area after displaying this image. ">

GifSetPageDisposal Method

See Also     Examples     Applies To

Before saving using the GifSaveMultiPageToFile() function , sets the "Frame disposal method" of a page of a multipage gif image.
This defines what to do with the logical canvas area after displaying this image.

Syntax

object.GifSetPageDisposal (nImageID, nPage, nPageDisposal)

The GifSetPageDisposal 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 multipage gif image handle.
nPage Required. Long. Page no between 1 and page count.
nPageDisposal Required. Long. Can be:
1: Leave. Will leave the image in place to be entirely or partially overdrawn by the next image.
2: Background. Will blank out the area used by the frame with the background color.
3: Previous. Will return the logical canvas to the previous state before the image was drawn.

Returns

Long. GdPictureStatus

Remarks

This function works with editable multipage gif images and with multipage gif images opened as read only.

Category

Gif Manipulation





© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.