| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ICadTransformations
Provides access to members that control Cad Transformations.
| Method Summary | |
|---|---|
|  void | getFromToTransform(_WKSPoint[] fromPoint1,
                   _WKSPoint[] fromPoint2,
                   _WKSPoint[] toPoint1,
                   _WKSPoint[] toPoint2)Returns the points of a two point transformation. | 
|  void | getTransformation(_WKSPoint[] from,
                  _WKSPoint[] to,
                  double[] angle,
                  double[] scale)Returns the rotation, scale, and translation of a transformation. | 
|  int | getTransformMode()The transformation type. | 
|  String | getWorldFileName()The pathname of the world file. | 
|  boolean | isEnableTransformations()Indicates if global transformations are enabled. | 
|  void | setEnableTransformations(boolean enabled)Indicates if global transformations are enabled. | 
|  void | setFromToTransform(_WKSPoint fromPoint1,
                   _WKSPoint fromPoint2,
                   _WKSPoint toPoint1,
                   _WKSPoint toPoint2)Sets the points of a two point transformation. | 
|  void | setTransformation(_WKSPoint from,
                  _WKSPoint to,
                  double angle,
                  double scale)Sets the rotation, scale, and translation of a transformation. | 
|  void | setTransformMode(int mode)The transformation type. | 
|  void | setWorldFileName(String filePath)The pathname of the world file. | 
| Method Detail | 
|---|
boolean isEnableTransformations()
                                throws IOException,
                                       AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setEnableTransformations(boolean enabled)
                              throws IOException,
                                     AutomationException
enabled - The enabled  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
String getWorldFileName()
                        throws IOException,
                               AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setWorldFileName(String filePath)
                      throws IOException,
                             AutomationException
filePath - The filePath  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
int getTransformMode()
                     throws IOException,
                            AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setTransformMode(int mode)
                      throws IOException,
                             AutomationException
mode - A com.esri.arcgis.datasourcesfile.esriCadTransform constant  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void getFromToTransform(_WKSPoint[] fromPoint1,
                        _WKSPoint[] fromPoint2,
                        _WKSPoint[] toPoint1,
                        _WKSPoint[] toPoint2)
                        throws IOException,
                               AutomationException
fromPoint1 - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef)   (out: use single element array)fromPoint2 - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef)   (out: use single element array)toPoint1 - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef)   (out: use single element array)toPoint2 - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef)   (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setFromToTransform(_WKSPoint fromPoint1,
                        _WKSPoint fromPoint2,
                        _WKSPoint toPoint1,
                        _WKSPoint toPoint2)
                        throws IOException,
                               AutomationException
fromPoint1 - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef)   (in)fromPoint2 - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef)   (in)toPoint1 - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef)   (in)toPoint2 - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef)   (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void getTransformation(_WKSPoint[] from,
                       _WKSPoint[] to,
                       double[] angle,
                       double[] scale)
                       throws IOException,
                              AutomationException
from - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef)   (out: use single element array)to - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef)   (out: use single element array)angle - The angle  (out: use single element array)scale - The scale  (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setTransformation(_WKSPoint from,
                       _WKSPoint to,
                       double angle,
                       double scale)
                       throws IOException,
                              AutomationException
from - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef)   (in)to - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef)   (in)angle - The angle  (in)scale - The scale  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||