ArcObjects Library Reference (DataSourcesFile)  

ICadTransformations.GetTransformation Method

Returns the rotation, scale, and translation of a transformation.

[Visual Basic .NET]
Public Sub GetTransformation ( _
    ByRef from As WKSPoint, _
    ByRef to As WKSPoint, _
    ByRef angle As Double, _
    ByRef scale As Double _
)
[C#]
public void GetTransformation (
    ref WKSPoint from,
    ref WKSPoint to,
    ref double angle,
    ref double scale
);
[C++]
HRESULT GetTransformation(
  _WKSPoint* from,
  _WKSPoint* to,
  double* angle,
  double* scale
);
[C++]

Parameters

from [out]

  from is a parameter of type _WKSPoint

to [out]

  to is a parameter of type _WKSPoint

angle [out]   angle is a parameter of type double scale [out]   scale is a parameter of type double

Product Availability

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

See Also

ICadTransformations Interface

.NET Related Topics

How to get CAD transformation properties (from, to, angle, and scale) | How to set CAD transformation properties (from, to, angle, and scale) |