# IExImagePlugin Struct Reference

Inheritance diagram for IExImagePlugin:

List of all members.

## Public Types
enum | ESupportMode { eNone = 0, eRead = 1, eWrite = 2, eReadWrite = eRead | eWrite }
## Public Member Functions
virtual ESupportMode MCCOMAPI | SupportFormat (IDType fileFormat)=0
virtual boolean MCCOMAPI | Open (IMCFile *file, IShRasterLayer **rasterLayer)=0
virtual boolean MCCOMAPI | Save (IMCFile *file, IShRasterLayer *rasterLayer)=0

## Member Enumeration Documentation

enum IExImagePlugin::ESupportMode

Enumerator:

  eNone |
  eRead |
  eWrite |
  eReadWrite |

## Member Function Documentation

virtual boolean MCCOMAPI IExImagePlugin::Open | ( | IMCFile * | file,
|  | IShRasterLayer ** | rasterLayer |
| ) |  |  | `[pure virtual]`

Loads an image from a file.

Parameters:

  | file | The file where the image is stored.
  | rasterLayer | The image.

virtual boolean MCCOMAPI IExImagePlugin::Save | ( | IMCFile * | file,
|  | IShRasterLayer * | rasterLayer |
| ) |  |  | `[pure virtual]`

Saves an image to a file.

Parameters:

  | file | The file where the image should be written.
  | rasterLayer | The image.

virtual ESupportMode MCCOMAPI IExImagePlugin::SupportFormat | ( | IDType | fileFormat | ) | `[pure virtual]`

Returns true if the plugin supports this file format.

Parameters:

  | fileFormat | The file format that we check for.

The documentation for this struct was generated from the following file:

- IExImagePlugin.h