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


IPolynomialXform.ApplyScale Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IP > IPolynomialXform Interface > IPolynomialXform.ApplyScale Method
ArcGIS Developer Help

IPolynomialXform.ApplyScale Method

Applies a scale to the polynomial.

[Visual Basic .NET]
Public Sub ApplyScale ( _
    ByVal direction As esriTransformDirection, _
    ByVal scaleX As Double, _
    ByVal scaleY As Double _
)
[C#]
public void ApplyScale (
    esriTransformDirection direction,
    double scaleX,
    double scaleY
);
[C++]
HRESULT ApplyScale(
  esriTransformDirection direction,
  double scaleX,
  double scaleY
);
[C++]
Parameters
direction [in]

direction is a parameter of type esriTransformDirection scaleX [in]
scaleX is a parameter of type double scaleY [in]
scaleY is a parameter of type double

Product Availability

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

Remarks

ApplyScale method appends an xform to the existing PolynomialXform. To define an scale transformation to work with raster data using this method, you must define both forward and inverse transformations.

For example, to define a scale transformation, you need to call

 

pPolynomialXform.ApplyScale TransformationForward, 10

pPolynomialXform.ApplyScale TransformationReverse, 1/10

See Also

IPolynomialXform Interface