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
public IGeoDataset ProjectFast (
    IGeoDataset GeoDataset,
    ISpatialReference newSpatialReference,
    esriGeoAnalysisResampleEnum resampleType,
    ref object CellSize

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.
HRESULT ProjectFast(
  IGeoDataset* GeoDataset,
  ISpatialReference* newSpatialReference,
  esriGeoAnalysisResampleEnum resampleType,
  VARIANT* CellSize,
  IGeoDataset** outGeoDataset


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.



an input Raster, RasterDataset, RasterBand, or RasterDescriptor


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


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.


ouput cellsize.  The default is the current environment setting.

See Also

ITransformationOp Interface