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


IRasterExportOp.ExportToASCII Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoAnalyst)  

IRasterExportOp.ExportToASCII Method

Exports a raster dataset to a GRID ASCII file.

[Visual Basic .NET]
Public Sub ExportToASCII ( _
    ByVal dataset As IGeoDataset, _
    ByVal asciiFile As String _
)
[C#]
public void ExportToASCII (
    IGeoDataset dataset,
    string asciiFile
);
[C++]
HRESULT ExportToASCII(
  IGeoDataset* dataset,
  BSTR asciiFile
);
[C++]

Parameters dataset [in]
dataset is a parameter of type IGeoDataset* asciiFile [in]
asciiFile is a parameter of type BSTR

Product Availability

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

Remarks

dataset

an input Raster, RasterDataset, RasterBand, or RasterDescriptor

See Also

IRasterExportOp Interface