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


ICadTransformations.GetTransformation Method (ArcObjects .NET 10.6 SDK)
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,
  System.Double* angle,
  System.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)