Interface ICadTransformations

Namespace
ESRI.ArcGIS.DatasourcesFile
Assembly
ESRI.Server.DatasourcesFile.dll

Provides access to members that control Cad Transformations.

[Guid("E37F71AB-BFB1-11D2-9B20-00C04FA33299")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface ICadTransformations

Properties

EnableTransformations

Indicates if global transformations are enabled.

bool EnableTransformations { get; set; }

Property Value

bool

TransformMode

The transformation type.

esriCadTransform TransformMode { get; set; }

Property Value

esriCadTransform

WorldFileName

The pathname of the world file.

string WorldFileName { get; set; }

Property Value

string

Methods

GetFromToTransform(out WKSPoint, out WKSPoint, out WKSPoint, out WKSPoint)

Returns the points of a two point transformation.

void GetFromToTransform(out WKSPoint fromPoint1, out WKSPoint fromPoint2, out WKSPoint toPoint1, out WKSPoint toPoint2)

Parameters

fromPoint1 WKSPoint
fromPoint2 WKSPoint
toPoint1 WKSPoint
toPoint2 WKSPoint

GetTransformation(out WKSPoint, out WKSPoint, out double, out double)

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

void GetTransformation(out WKSPoint from, out WKSPoint to, out double angle, out double Scale)

Parameters

from WKSPoint
to WKSPoint
angle double
Scale double

SetFromToTransform(ref WKSPoint, ref WKSPoint, ref WKSPoint, ref WKSPoint)

Sets the points of a two point transformation.

void SetFromToTransform(ref WKSPoint fromPoint1, ref WKSPoint fromPoint2, ref WKSPoint toPoint1, ref WKSPoint toPoint2)

Parameters

fromPoint1 WKSPoint
fromPoint2 WKSPoint
toPoint1 WKSPoint
toPoint2 WKSPoint

SetTransformation(ref WKSPoint, ref WKSPoint, double, double)

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

void SetTransformation(ref WKSPoint from, ref WKSPoint to, double angle, double Scale)

Parameters

from WKSPoint
to WKSPoint
angle double
Scale double