This document is archived and information here might be outdated.  Recommended version.


IRasterLayerExport.Export Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IRasterLayerExport.Export Method

Executes the raster layer exporting.

[Visual Basic .NET]
Public Function Export ( _
    ByVal pWorkspace As IWorkspace, _
    ByVal newname As String, _
    ByVal Format As String _
) As IRasterDataset
[C#]
public IRasterDataset Export (
    IWorkspace pWorkspace,
    string newname,
    string Format
);
[C++]
HRESULT Export(
  IWorkspace* pWorkspace,
  BSTR newname,
  BSTR Format,
  IRasterDataset** ppDataset
);
[C++]

Parameters pWorkspace [in]
pWorkspace is a parameter of type IWorkspace newname [in] newname is a parameter of type BSTR Format [in] Format is a parameter of type BSTR ppDataset [out, retval]
ppDataset is a parameter of type IRasterDataset

Product Availability

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

Remarks

Export method can export to the following raster formats. The format strings used for the supported formats are below, and they are case sensitive:

Format Name String Used
Imagine "IMAGINE Image"
TIFF "TIFF"
GRID "GRID"
JPEG "JPG"
JP2000 "JP2"
BMP "BMP"
PNG "PNG"
GIF "GIF"
PCI Raster "PIX"
X11 Pixmap "XPM"
PCRaster "MAP"
Memory Raster "MEM"
HDF4 "HDF4"
BIL "BIL"
BIP "BIP"
BSQ "BSQ"
Idrisi Raster Format "RST"
ENVI Raster Format "ENVI"
Geodatabase Raster "GDB"

See Also

IRasterLayerExport Interface