ArcObjects Library Reference (GeoAnalyst)  

ITransformationOp.ReScale Method

Scales the coordinates of a raster.

[Visual Basic .NET]
Public Function ReScale ( _
    ByVal inData As IGeoDataset, _
    ByVal xScale As Double, _
    ByVal yScale As Double _
) As IGeoDataset
[C#]
public IGeoDataset ReScale (
    IGeoDataset inData,
    double xScale,
    double yScale
);
[C++]
HRESULT ReScale(
  IGeoDataset* inData,
  double xScale,
  double yScale,
  IGeoDataset** outDataSet
);
[C++]

Parameters

inData [in]

  inData is a parameter of type IGeoDataset

xScale [in]   xScale is a parameter of type double yScale [in]   yScale is a parameter of type double outDataSet [out, retval]

  outDataSet is a parameter of type IGeoDataset

Product Availability

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

Remarks

inData

an input Raster, RasterDataset, RasterBand, or RasterDescriptor

xScale

Factor to scale the cell size in the x direction by.
The factor must be greater than 0.

yScale

Factor to scale the cell size in the y direction by.
The factor must be greater than 0.

See Also

ITransformationOp Interface