ArcObjects Library Reference (DataSourcesFile)  

ICadTransformations.SetTransformation Method

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

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

Parameters

from [in]

  from is a parameter of type _WKSPoint

to [in]

  to is a parameter of type _WKSPoint

angle [in]   angle is a parameter of type double scale [in]   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 set CAD transformation properties (from, to, angle, and scale)