This document is archived and information here might be outdated. Recommended version. |
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 bool Order [in]
Order is a parameter of type esriGeoTransTypeEnum pVar [in]
pVar is a parameter of type VARIANT*
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.