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


ITransformationOp.Project Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GeoAnalyst > ESRI.ArcGIS.GeoAnalyst > Interfaces > IT > ITransformationOp Interface > ITransformationOp.Project Method
ArcGIS Developer Help

ITransformationOp.Project Method

Converts a raster between two coordinate systems with the option of method.

[Visual Basic .NET]
Public Function Project ( _
    ByVal GeoDataset As IGeoDataset, _
    ByVal newSpatialReference As ISpatialReference, _
    ByVal resampleType As esriGeoAnalysisResampleEnum, _
    ByVal PrjMethodType As esriRasterPrjMethodTypeEnum, _
    ByVal transformType As esriGeoTransTypeEnum, _
    [ByRef blocksize As Object], _
    [ByRef CellSize As Object] _
) As IGeoDataset
[C#]
public IGeoDataset Project (
    IGeoDataset GeoDataset,
    ISpatialReference newSpatialReference,
    esriGeoAnalysisResampleEnum resampleType,
    esriRasterPrjMethodTypeEnum PrjMethodType,
    esriGeoTransTypeEnum transformType,
    ref object blocksize,
    ref object CellSize
);
[C++]
HRESULT Project(
  IGeoDataset* GeoDataset,
  ISpatialReference* newSpatialReference,
  esriGeoAnalysisResampleEnum resampleType,
  esriRasterPrjMethodTypeEnum PrjMethodType,
  esriGeoTransTypeEnum transformType,
  Variant* blocksize,
  Variant* CellSize
);
[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 PrjMethodType [in]
PrjMethodType is a parameter of type esriRasterPrjMethodTypeEnum transformType [in]
transformType is a parameter of type esriGeoTransTypeEnum blocksize [in, optional]
blocksize is a parameter of type VARIANT* CellSize [in, optional]
CellSize is a parameter of type VARIANT*

Product Availability

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

See Also

ITransformationOp Interface