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


ICadTransformations.SetFromToTransform Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (DataSourcesFile)  

ICadTransformations.SetFromToTransform Method

Sets the points of a two point transformation.

[Visual Basic .NET]
Public Sub SetFromToTransform ( _
    ByRef fromPoint1 As WKSPoint, _
    ByRef fromPoint2 As WKSPoint, _
    ByRef toPoint1 As WKSPoint, _
    ByRef toPoint2 As WKSPoint _
)
[C#]
public void SetFromToTransform (
    ref WKSPoint fromPoint1,
    ref WKSPoint fromPoint2,
    ref WKSPoint toPoint1,
    ref WKSPoint toPoint2
);
[C++]
HRESULT SetFromToTransform(
  WKSPoint* fromPoint1,
  WKSPoint* fromPoint2,
  WKSPoint* toPoint1,
  WKSPoint* toPoint2
);
[C++]

Parameters fromPoint1 [in]
fromPoint1 is a parameter of type WKSPoint* fromPoint2 [in]
fromPoint2 is a parameter of type WKSPoint* toPoint1 [in]
toPoint1 is a parameter of type WKSPoint* toPoint2 [in]
toPoint2 is a parameter of type WKSPoint*

Product Availability

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

See Also

ICadTransformations Interface

.NET Related Topics

How to set the points of a two-point CAD transformation