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


IReclassOp.ReclassByASCIIFile Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoAnalyst)  

IReclassOp.ReclassByASCIIFile Method

Reclassifies (or changes) the values of the input cells of a raster by using an ascii remap file.

[Visual Basic .NET]
Public Function ReclassByASCIIFile ( _
    ByVal inRaster As IGeoDataset, _
    ByVal sRemapFile As String, _
    ByVal retainMissingValues As Boolean _
) As IGeoDataset
[C#]
public IGeoDataset ReclassByASCIIFile (
    IGeoDataset inRaster,
    string sRemapFile,
    bool retainMissingValues
);
[C++]
HRESULT ReclassByASCIIFile(
  IGeoDataset* inRaster,
  BSTR sRemapFile,
  VARIANT_BOOL retainMissingValues,
  IGeoDataset** outGeoDataset
);
[C++]

Parameters inRaster [in]
inRaster is a parameter of type IGeoDataset sRemapFile [in] sRemapFile is a parameter of type BSTR retainMissingValues [in] retainMissingValues is a parameter of type VARIANT_BOOL outGeoDataset [out, retval]
outGeoDataset is a parameter of type IGeoDataset

Product Availability

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

Remarks

inRaster

the input Raster, RasterDataset, RasterBand, or RasterDescriptor

sRemapFile

the input ASCII file of specific format on which to classify the inRaster.

retainMissingValues

a Boolean specifying whether to keep missing values in the analysis.

If TRUE, values that have been omitted are given a NODATA value in output raster

If FALSE, values that have been omitted are retained and unchanged in the output raster.

See Also

IReclassOp Interface