Document Solutions for Imaging
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Imaging Namespace / GifFrame Class
Properties Methods

GifFrame Class Members

The following tables list the members exposed by GifFrame.

Public Properties
 NameDescription
Public PropertyGets the index of a frame used as the base for the current frame, -1 if the current frame doesn't depend on previous frames.  
Public PropertyGets the y-coordinate that is the sum of Top and Height property values.  
Public PropertyGets the number of hundredths (1/100) of a second to wait before continuing.

If the value is negative, the delay time is not specified.

 
Public PropertyGets the way in which the GIF frame has to be treated after being displayed.  
Public PropertyGets the index of the frame in the associated GIF file.  
Public PropertyGets a value indicating if the frame uses colors from the Local Color Table.  
Public PropertyGets the height of the frame image in pixels.  
Public PropertyGets the x-coordinate, in pixels, of the left edge of the frame image, with respect to the left edge of the Logical Screen.  
Public PropertyGets a value indicating if transparent pixels don't occur in the frame data.  
Public PropertyGets the associated GcGifReader.  
Public PropertyGets the x-coordinate that is the sum of Left and Width property values.  
Public PropertyGets the y-coordinate, in pixels, of the top edge of the frame image with respect to the top edge of the Logical Screen.  
Public PropertyGets a value indicating whether or not user input is expected before continuing.

When a DelayTime is not 0 and the UserInput flag is set, processing will continue when user input is received or when the delay time expires, whichever occurs first.

 
Public PropertyGets the width of the frame image in pixels.  
Top
Public Methods
 NameDescription
Public MethodReturns a palette with sorted opaque colors in 32-bit ARGB format retrieved from the Local Color Table.  
Public MethodGets the frame image as a Indexed8bppBitmap.  
Public MethodOverloaded. Gets the frame image as a GcBitmap.

Many GIF files use frames with transparent pixels where the previous frame is partly visible. If you read multiple GIF frames you can improve the performance dramatically by reading frames into the same GcBitmap and passing index of the previous frame in the additional contentFrameIndex parameter.

 
Public MethodCreates an GrapeCity.Documents.Drawing.Image object for the frame.  
Top
See Also