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


IRasterGeometryProc.Register Method (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterGeometryProc Interface > IRasterGeometryProc.Register Method
ArcGIS Developer Help

IRasterGeometryProc.Register Method

Outputs the current transformation properties to the dataset header or auxilliary file.

[Visual Basic .NET]
Public Sub Register ( _
    ByVal pRaster As IRaster _
)
[C#]
public void Register (
    IRaster pRaster
);
[C++]
HRESULT Register(
  IRaster* pRaster
);
[C++]
Parameters
pRaster [in]

pRaster is a parameter of type IRaster*

Product Availability

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

Remarks

To prevent the need for resampling, the Register method persists the transformation into the auxiliary file associated with the dataset on disk. The presence of this transformation on disk means that the data can be transformed on-the-fly to its correct position for display and analysis. However, because the transformation is stored in the auxiliary file, only ArcGIS, ArcObjects, and ERDAS IMAGINE will be able to use this information. Register will not correctly maintain the transformation for rasters that have been clipped. To provide compatibility with ArcGIS for Desktop Advanced Workstation, complex transformations cannot be written to GRID-format datasets.

See Also

IRasterGeometryProc Interface