UnZipFile.ReadAsGIFContainer
----------------------------

Reads the file with given index as container value with GIF data.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Compression](component_Compression.md) | [3.4](newinversion34.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "UnZipFile.ReadAsGIFContainer"; Index ) 

**MBS**( **"UnZipFile.ReadAsGIFContainer";** /\* Reads the file with given index as container value with GIF data. \*/  
**$Index**) /\* Index of the item from 0 to [UnZipFile.ItemCount](UnZipFileItemCount.md)-1. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Index | Index of the item from 0 to [UnZipFile.ItemCount](UnZipFileItemCount.md)-1. | $index |

### Result

Returns container value or error.

### Description

Reads the file with given index as container value with GIF data.  
If you want to decrypt an encrypted file, please use [UnZipFile.UsePassword](UnZipFileUsePassword.md) before calling this function.  
### Examples

Read file:

 $r = MBS ( "UnZipFile.ReadAsGIFContainer"; $Index )  
### See also

- [UnZipFile.ItemCount](UnZipFileItemCount.md)
- [UnZipFile.ReadAsFileContainer](UnZipFileReadAsFileContainer.md)
- [UnZipFile.ReadAsJPEGContainer](UnZipFileReadAsJPEGContainer.md)
- [UnZipFile.ReadAsPNGContainer](UnZipFileReadAsPNGContainer.md)
- [UnZipFile.UsePassword](UnZipFileUsePassword.md)
- [ZipFile.UsePassword](ZipFileUsePassword.md)

This function checks for a license.

Created 18th August 2014 , last changed 26th February 2015

  
[UnZipFile.ReadAsFileContainer](UnZipFileReadAsFileContainer.md) - [UnZipFile.ReadAsHex](UnZipFileReadAsHex.md)

[HTML Version](UnZipFileReadAsGIFContainer.shtml)