This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterGeometryProc2 Interface > IRasterGeometryProc2.Rectify Method (ArcObjects .NET 10.5 SDK) |
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
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" |