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


IReclassOp.ReclassByASCIIFile Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GeoAnalyst > ESRI.ArcGIS.GeoAnalyst > Interfaces > IR > IReclassOp Interface > IReclassOp.ReclassByASCIIFile Method
ArcGIS Developer Help

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
);
[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 bool

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