com.esri.arcgis.datasourcesraster
Interface IWorldFileExport

All Superinterfaces:
Serializable
All Known Implementing Classes:
RasterDataset

public interface IWorldFileExport
extends Serializable

Provides access to members that export Georeference information to a WorldFile.

Remarks

The interface is used to write the internal georeferencing information of an image to a world file. The name of the word file is as same as the image file name except the file extension. The extension of the world file is the first letter and third letter of the image file extension plus "w". For example, if the image name is "redlands.tif", the world file of the image will be "readlands.tfw".


The world file stores an affine transformation in the following form:
A (x cell size )
D (rotation term)
B (rotation term)
E (negative y cell size)
C (x translation term in map coordinate)
F (y translation term in map coordinate)


which represents the following transformation:
x1 = Ax + By + C
y1 = Dx + Ey + F

This interface is not supported by a RasterDataset instance from an ArcSDE geodatabase or a File geodatabase.

When To Use

IWorldFileExport interface output the internal georeference information of a raster dataset to a world file.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 void write()
          Creates a World File.
 

Method Detail

write

void write()
           throws IOException,
                  AutomationException
Creates a World File.

Remarks

For GRID format or datasets that get their georeference information from a world file, IWorldFileExport:Write method has no effect.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.