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


IRasterGeometryProc3.PutRasterXForm Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IRasterGeometryProc3.PutRasterXForm Method

Sets a polynomial transformation to the Raster.

[Visual Basic .NET]
Public Sub PutRasterXForm ( _
    ByVal pRaster As IRaster, _
    ByVal clean As Boolean, _
    ByVal Order As esriGeoTransTypeEnum, _
    ByRef pVar As Object _
)
[C#]
public void PutRasterXForm (
    IRaster pRaster,
    bool clean,
    esriGeoTransTypeEnum Order,
    ref object pVar
);
[C++]
HRESULT PutRasterXForm(
  IRaster* pRaster,
  VARIANT_BOOL clean,
  esriGeoTransTypeEnum Order,
  VARIANT* pVar
);
[C++]

Parameters pRaster [in]
pRaster is a parameter of type IRaster clean [in] clean is a parameter of type VARIANT_BOOL Order [in]
Order is a parameter of type esriGeoTransTypeEnum pVar [in] pVar is a parameter of type VARIANT

Product Availability

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

Remarks

The PutRasterXForm method appends a polynomial transformation to a raster. You can also clean the existing transformations on the raster by setting parameter clean to be true. Since calling this method does not automatically update the cell size and extent of the raster like other geometric operations (Shift, Rotate, etc.) do, Rectify or SaveAs will not persist the transformations to a raster dataset directly. Therefore, this method is not recommended for ourside developers.

See Also

IRasterGeometryProc3 Interface