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


IRasterGeometryProc2.ProjectFast Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IRasterGeometryProc2.ProjectFast Method

Projects the input raster using a single polynomial fit to compute the adjustment between coordinate systems.

[Visual Basic .NET]
Public Sub ProjectFast ( _
    ByVal pNewSR As ISpatialReference, _
    ByVal resampleType As rstResamplingTypes, _
    [ByRef CellSize As Object], _
    [ByVal pRaster As IRaster] _
)
[C#]
public void ProjectFast (
    ISpatialReference pNewSR,
    rstResamplingTypes resampleType,
    ref object CellSize,
    ref IRaster pRaster
);
[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.
pRaster   Optional, default value of .
[C++]
HRESULT ProjectFast(
  ISpatialReference* pNewSR,
  rstResamplingTypes resampleType,
  VARIANT* CellSize,
  IRaster* pRaster
);
[C++]

Parameters pNewSR [in]
pNewSR is a parameter of type ISpatialReference resampleType [in]
resampleType is a parameter of type rstResamplingTypes 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. pRaster [optional]
pRaster is a parameter of type IRaster

Product Availability

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

See Also

IRasterGeometryProc2 Interface