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


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

IRasterGeometryProc2.Rectify Method

Persists the input raster to a new dataset of the specified format.

[Visual Basic .NET]
Public Sub Rectify ( _
    ByVal saveas_name As String, _
    ByVal Format As String, _
    ByVal pRaster As IRaster _
)
[C#]
public void Rectify (
    string saveas_name,
    string Format,
    IRaster pRaster
);
[C++]
HRESULT Rectify(
  BSTR saveas_name,
  BSTR Format,
  IRaster* pRaster
);
[C++]

Parameters saveas_name [in] saveas_name is a parameter of type BSTR Format [in] Format is a parameter of type BSTR pRaster [in]
pRaster is a parameter of type IRaster

Product Availability

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

Remarks

The output formats as well as the strings used for the supported formats are below, and they are case sensitive:

Format Name String Used
Imagine "IMAGINE Image"
TIFF "TIFF"
GRID "GRID"
JPEG "JPG"
JP2000 "JP2"
BMP "BMP"
PNG "PNG"
GIF "GIF"
PCI Raster "PIX"
USGS ASCII DEM "DEM"
X11 Pixmap "XPM"
PCRaster "MAP"
USGS ASCII DEM "DEM"

See Also

IRasterGeometryProc2 Interface