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


ITransformationOp.ProjectFast Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoAnalyst)  

ITransformationOp.ProjectFast Method

Converts a raster between two coordinate systems on region bases.

[Visual Basic .NET]
Public Function ProjectFast ( _
    ByVal GeoDataset As IGeoDataset, _
    ByVal newSpatialReference As ISpatialReference, _
    ByVal resampleType As esriGeoAnalysisResampleEnum, _
    [ByRef CellSize As Object] _
) As IGeoDataset
[C#]
public IGeoDataset ProjectFast (
    IGeoDataset GeoDataset,
    ISpatialReference newSpatialReference,
    esriGeoAnalysisResampleEnum resampleType,
    ref object CellSize
);
[C#]

Optional Values

CellSize   To indicate that this parameter is undefined, first define a variable object Missing=Type.Missing; then pass this in as ref Missing.
[C++]
HRESULT ProjectFast(
  IGeoDataset* GeoDataset,
  ISpatialReference* newSpatialReference,
  esriGeoAnalysisResampleEnum resampleType,
  VARIANT* CellSize,
  IGeoDataset** outGeoDataset
);
[C++]

Parameters GeoDataset [in]
GeoDataset is a parameter of type IGeoDataset newSpatialReference [in]
newSpatialReference is a parameter of type ISpatialReference resampleType [in]
resampleType is a parameter of type esriGeoAnalysisResampleEnum CellSize [optional] CellSize is a parameter of type VARIANT
To indicate this parameter is undefined pass a reference to a VARIANT with type VT_ERROR and scode value of DISP_E_PARAMNOTFOUND. outGeoDataset [out, retval]
outGeoDataset is a parameter of type IGeoDataset

Product Availability

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

Remarks

GeoDataset

an input Raster, RasterDataset, RasterBand, or RasterDescriptor

newSpatialReference

references an object supporting ISpatialReference interface that specifies the output spatial reference. 

resampleType

an esriGeoAnalysisResampleEnum specifing the resampling algorithm to be used when sampling a Raster

can be of type:

esriGeoAnalysisResampleBilinear - bilinear interpolation. This is Default.

esriGeoAnalysisResampleCubic - cubic convolution.

esriGeoAnalysisResampleNearest - nearest neighbor assignment.

[cellSize]

ouput cellsize.  The default is the current environment setting.

See Also

ITransformationOp Interface