ArcGIS Enterprise SDK
IWorldFileExport Interface
ArcGIS Enterprise SDK Developer Help > ArcGIS Enterprise SDK API Reference > ArcGIS Enterprise SDK .NET Namespaces > ESRI.Server.DataSourcesRaster > Interfaces > IW > IWorldFileExport Interface
ArcGIS Developer Help (ESRI.ArcGIS.DataSourcesRaster)

IWorldFileExport Interface

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

When To Use

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


Name Description
Method Write Creates a World File.

Classes that implement IWorldFileExport

Classes Description
RasterDataset A representation of a raster dataset on disk.


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.