|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.carto.Text3DElement
public class Text3DElement
The Text3D Graphics Element CoClass.
Text3DElement is a graphic element for drawing 3D text.
Geometry: Text3DElement accepts geometry of type esriGeometryMultiPatch.
| Constructor Summary | |
|---|---|
Text3DElement()
Constructs a Text3DElement using ArcGIS Engine. |
|
Text3DElement(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. Text3DElement theText3DElement = (Text3DElement) obj; |
|
| Method Summary | |
|---|---|
void |
activate(IDisplay display)
Prepare to display graphic on screen. |
boolean |
applies(Object pUnk)
Indicates if the receiver can apply the given object at any given time. |
Object |
apply(Object newObject)
Applies the given property to the receiver and returns the old object. |
void |
assign(IClone src)
Assigns the properties of src to the receiver. |
boolean |
canApply(Object pUnk)
Indicates if the receiver can apply the given object at that particular moment. |
boolean |
canRotate()
Indicates if the element can be rotated. |
void |
deactivate()
ActiveView that graphics are displayed on is no longer visible. |
void |
draw(IDisplay display,
ITrackCancel trackCancel)
Draws the element into the given display object. |
boolean |
equals(Object o)
Compare this object with another |
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone. |
int |
getAlignment()
The text alignment. |
IPoint |
getAnchorPoint()
The height of text in world units. |
int |
getAxisRotation()
The rotation axis. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
Object |
getCurrent(Object pUnk)
The object currently being used. |
Object |
getCustomProperty()
Custom property. |
double |
getDepth()
The depth of text in world units. |
String |
getFontName()
The TrueType font name. |
IGeometry |
getGeometry()
Shape of the element as a geometry. |
double |
getHeight()
The height of text in world units. |
int |
getJustification()
The justification of text. |
String |
getName()
Name of the element. |
int |
getOrientationPlane()
The plane of orientation. |
double |
getReferenceScale()
Reference scale of the element. |
double |
getRotationAngle()
The rotation angle about the rotation axis. |
ISelectionTracker |
getSelectionTracker()
Selection tracker used by this element. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
ISpatialReference |
getSpatialReference()
Spatial reference of the map. |
IFillSymbol |
getSymbol()
Fill symbol this element uses to draw itself. |
String |
getText()
The text string. |
String |
getType()
Type of the element. |
double |
getZAxisScale()
The adjustment factor for z axis. |
int |
hashCode()
the hashcode for this object |
boolean |
hitTest(double x,
double y,
double tolerance)
Indicates if the given x and y coordinates are contained by the element. |
int |
IElementProperties3_getAnchorPoint()
Anchor point of the element. |
boolean |
isAutoTransform()
Indicates if transform is applied to symbols and other parts of element. |
boolean |
isBoldFont()
Indicates if font style is bold. |
void |
isDirty()
isDirty |
boolean |
isEqual(IClone other)
Indicates if the receiver and other have the same properties. |
boolean |
isFixedAspectRatio()
Indicates if the bounds has a fixed aspect ratio. |
boolean |
isFixedSize()
Indicates if size is determined by some other property like the symbol. |
boolean |
isIdentical(IClone other)
Indicates if the receiver and other are the same object. |
boolean |
isItalicFont()
Indicates if font style is italic. |
boolean |
isLocked()
Indicates if the element is in a read-only state. |
void |
load(IStream pstm)
load |
void |
move(double dx,
double dy)
Moves dx units horizontally and dy units vertically. |
void |
moveVector(ILine v)
Moves a direction and distance v. |
void |
queryBounds(IDisplay display,
IEnvelope bounds)
Bounds of the element taking symbology into consideration. |
void |
queryOutline(IDisplay display,
IPolygon outline)
Bounds of the element taking symbology into consideration. |
void |
readExternal(ObjectInput in)
|
void |
rotate(IPoint origin,
double rotationAngle)
Rotates about the specified origin point. |
void |
save(IStream pstm,
int fClearDirty)
save |
void |
scale(IPoint origin,
double sx,
double sy)
Scales about the specified origin using seperate horizonal and vertical scales. |
void |
setAlignment(int pAlignment)
The text alignment. |
void |
setAnchorPoint(int anchorPoint)
Anchor point of the element. |
void |
setAnchorPoint(IPoint ppAnchorPt)
The height of text in world units. |
void |
setAutoTransform(boolean autoTransform)
Indicates if transform is applied to symbols and other parts of element. |
void |
setAxisRotation(int pAxis)
The rotation axis. |
void |
setBoldFont(boolean pBoldFont)
Indicates if font style is bold. |
void |
setCustomProperty(Object customProperty)
Custom property. |
void |
setDepth(double pDepth)
The depth of text in world units. |
void |
setFixedAspectRatio(boolean flag)
Indicates if the bounds has a fixed aspect ratio. |
void |
setFontName(String pFontName)
The TrueType font name. |
void |
setGeometry(IGeometry pGeometry)
Shape of the element as a geometry. |
void |
setHeight(double pHeight)
The height of text in world units. |
void |
setItalicFont(boolean pItalicFont)
Indicates if font style is italic. |
void |
setJustification(int pJustification)
The justification of text. |
void |
setLocked(boolean pLocked)
Indicates if the element is in a read-only state. |
void |
setName(String name)
Name of the element. |
void |
setOrientationPlane(int pPlane)
The plane of orientation. |
void |
setReferenceScale(double referenceScale)
Reference scale of the element. |
void |
setRotationAngle(double pAngle)
The rotation angle about the rotation axis. |
void |
setSpatialReferenceByRef(ISpatialReference spatialRef)
Spatial reference of the map. |
void |
setSurface(IFunctionalSurface rhs1)
The surface for draping. |
void |
setSymbol(IFillSymbol symbol)
Fill symbol this element uses to draw itself. |
void |
setText(String pText)
The text string. |
void |
setType(String name)
Type of the element. |
void |
setZAxisScale(double pZScale)
The adjustment factor for z axis. |
void |
transform(int direction,
ITransformation transformation)
Applies an arbitrary transformation. |
boolean |
update()
Update graphic geometry with current parameters. |
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public Text3DElement()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public Text3DElement(Object obj)
throws IOException
Text3DElement theText3DElement = (Text3DElement) obj;
obj to Text3DElement.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public IGeometry getGeometry()
throws IOException,
AutomationException
getGeometry in interface IElementIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setGeometry(IGeometry pGeometry)
throws IOException,
AutomationException
setGeometry in interface IElementpGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void queryBounds(IDisplay display,
IEnvelope bounds)
throws IOException,
AutomationException
QueryBounds returns an envelope representing the boundary of the element. A valid envelope object must be passed in to the method along with the current display. The method then updates the envelope object based on the minimum bounding rectangle of the element.
queryBounds in interface IElementdisplay - A reference to a com.esri.arcgis.display.IDisplay (in)bounds - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void queryOutline(IDisplay display,
IPolygon outline)
throws IOException,
AutomationException
QueryOutline returns a polygon representing the outline of the element. A valid polygon object must be passed in to the method along with the current display. The method then updates the polygon object. The results for point and line elements will be similar to the minimum bounding envelope returned by QueryBounds, while the results for polygon elements while be the actual outline of the element (not the bounding envelope).
queryOutline in interface IElementdisplay - A reference to a com.esri.arcgis.display.IDisplay (in)outline - A reference to a com.esri.arcgis.geometry.IPolygon (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISelectionTracker getSelectionTracker()
throws IOException,
AutomationException
getSelectionTracker in interface IElementIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean hitTest(double x,
double y,
double tolerance)
throws IOException,
AutomationException
HitTest returns a boolean value indicating whether or not the current element is intersected by the specified coordinate pair and tolerance distance. For instance, if we have a line element selected, the HitTest is determining whether that line element is within the specified tolerance from the given X and Y. A value of TRUE is returned if the element is within the tolerance, while FALSE is returned if it is not.
The X,Y, and tolerance values should be specified in map units.
hitTest in interface IElementx - The x (in)y - The y (in)tolerance - The tolerance (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void draw(IDisplay display,
ITrackCancel trackCancel)
throws IOException,
AutomationException
draw in interface IElementdisplay - A reference to a com.esri.arcgis.display.IDisplay (in)trackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void activate(IDisplay display)
throws IOException,
AutomationException
activate in interface IElementdisplay - A reference to a com.esri.arcgis.display.IDisplay (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deactivate()
throws IOException,
AutomationException
deactivate in interface IElementIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isLocked()
throws IOException,
AutomationException
The Locked property indicates whether the specified element can be updated. This property can be set to TRUE to stop users from modifying a particular element.
isLocked in interface IElementIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLocked(boolean pLocked)
throws IOException,
AutomationException
setLocked in interface IElementpLocked - The pLocked (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getName()
throws IOException,
AutomationException
The Name property is used to store a name associated with the custom property assigned to the element.
getName in interface IElementPropertiesgetName in interface IElementProperties2getName in interface IElementProperties3IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setName(String name)
throws IOException,
AutomationException
setName in interface IElementPropertiessetName in interface IElementProperties2setName in interface IElementProperties3name - The name (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getType()
throws IOException,
AutomationException
Type is a string used to specify the type of property that has been assigned to the element.
getType in interface IElementPropertiesgetType in interface IElementProperties2getType in interface IElementProperties3IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setType(String name)
throws IOException,
AutomationException
setType in interface IElementPropertiessetType in interface IElementProperties2setType in interface IElementProperties3name - The name (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isAutoTransform()
throws IOException,
AutomationException
AutoTransform is a boolean values that indicates whether internal setings should be transformed along with the elements's geometry, when a transform is applied via ITransform2D. For instance, if I have a point element and I rotate it around a central location (the anchor point of the rotation being different from the point element iself), then the AutoTransform property is used to determine whether the orientation of the symbol associated to the element should also be rotated by the same amount.
isAutoTransform in interface IElementPropertiesisAutoTransform in interface IElementProperties2isAutoTransform in interface IElementProperties3IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAutoTransform(boolean autoTransform)
throws IOException,
AutomationException
setAutoTransform in interface IElementPropertiessetAutoTransform in interface IElementProperties2setAutoTransform in interface IElementProperties3autoTransform - The autoTransform (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getCustomProperty()
throws IOException,
AutomationException
CustomProperty is a place for developers to attach custom objects to an element. Previous versions of the software required that the specified variant be of type VT_UNKNOWN, i.e. a reference to an object, but that requirement has since been removed. Now, the CustomProperty can also be a simple type like an integer, double, boolean (VARIANT_BOOL) or a string (BSTR).
When this property is an object reference, the object must implement a persistence interface, so if you write a custom object it must implement IPersistStream or IPersistVariant. As an alternative to writing a custom object, you can use a PropertySet or XMLPropertySet, since they both already implement IPersistStream.
CustomProperty is never used by the core ArcObjects for its own elements, but the core software will expect to find an IPersistStream or IPersistVariant interface when the this property is an object reference, and it is part of an element being retrieved from or stored in an .mxd file.
getCustomProperty in interface IElementPropertiesgetCustomProperty in interface IElementProperties2getCustomProperty in interface IElementProperties3IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCustomProperty(Object customProperty)
throws IOException,
AutomationException
CustomProperty is a place for developers to attach custom objects to an element. Previous versions of the software required that the specified variant be of type VT_UNKNOWN, i.e. a reference to an object, but that requirement has since been removed. Now, the CustomProperty can also be a simple type like an integer, double, boolean (VARIANT_BOOL) or a string (BSTR).
When this property is an object reference, the object must implement a persistence interface, so if you write a custom object it must implement IPersistStream or IPersistVariant. As an alternative to writing a custom object, you can use a PropertySet or XMLPropertySet, since they both already implement IPersistStream.
CustomProperty is never used by the core ArcObjects for its own elements, but the core software will expect to find an IPersistStream or IPersistVariant interface when the this property is an object reference, and it is part of an element being retrieved from or stored in an .mxd file.
setCustomProperty in interface IElementPropertiessetCustomProperty in interface IElementProperties2setCustomProperty in interface IElementProperties3customProperty - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getText()
throws IOException,
AutomationException
getText in interface IText3DElementIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setText(String pText)
throws IOException,
AutomationException
setText in interface IText3DElementpText - The pText (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getFontName()
throws IOException,
AutomationException
getFontName in interface IText3DElementIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFontName(String pFontName)
throws IOException,
AutomationException
setFontName in interface IText3DElementpFontName - The pFontName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isBoldFont()
throws IOException,
AutomationException
isBoldFont in interface IText3DElementIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setBoldFont(boolean pBoldFont)
throws IOException,
AutomationException
setBoldFont in interface IText3DElementpBoldFont - The pBoldFont (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isItalicFont()
throws IOException,
AutomationException
isItalicFont in interface IText3DElementIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setItalicFont(boolean pItalicFont)
throws IOException,
AutomationException
setItalicFont in interface IText3DElementpItalicFont - The pItalicFont (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPoint getAnchorPoint()
throws IOException,
AutomationException
getAnchorPoint in interface IText3DElementIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAnchorPoint(IPoint ppAnchorPt)
throws IOException,
AutomationException
setAnchorPoint in interface IText3DElementppAnchorPt - A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getHeight()
throws IOException,
AutomationException
getHeight in interface IText3DElementIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setHeight(double pHeight)
throws IOException,
AutomationException
setHeight in interface IText3DElementpHeight - The pHeight (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getDepth()
throws IOException,
AutomationException
getDepth in interface IText3DElementIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDepth(double pDepth)
throws IOException,
AutomationException
setDepth in interface IText3DElementpDepth - The pDepth (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getJustification()
throws IOException,
AutomationException
getJustification in interface IText3DElementIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setJustification(int pJustification)
throws IOException,
AutomationException
setJustification in interface IText3DElementpJustification - A com.esri.arcgis.carto.esriT3DJustification constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getOrientationPlane()
throws IOException,
AutomationException
getOrientationPlane in interface IText3DElementIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setOrientationPlane(int pPlane)
throws IOException,
AutomationException
setOrientationPlane in interface IText3DElementpPlane - A com.esri.arcgis.carto.esriT3DOrientationPlane constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getAlignment()
throws IOException,
AutomationException
getAlignment in interface IText3DElementIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAlignment(int pAlignment)
throws IOException,
AutomationException
setAlignment in interface IText3DElementpAlignment - A com.esri.arcgis.carto.esriT3DAlignment constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getAxisRotation()
throws IOException,
AutomationException
getAxisRotation in interface IText3DElementIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAxisRotation(int pAxis)
throws IOException,
AutomationException
setAxisRotation in interface IText3DElementpAxis - A com.esri.arcgis.carto.esriT3DRotationAxis constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getRotationAngle()
throws IOException,
AutomationException
getRotationAngle in interface IText3DElementIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRotationAngle(double pAngle)
throws IOException,
AutomationException
setRotationAngle in interface IText3DElementpAngle - The pAngle (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getZAxisScale()
throws IOException,
AutomationException
getZAxisScale in interface IText3DElementIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setZAxisScale(double pZScale)
throws IOException,
AutomationException
setZAxisScale in interface IText3DElementpZScale - The pZScale (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSurface(IFunctionalSurface rhs1)
throws IOException,
AutomationException
setSurface in interface IText3DElementrhs1 - A reference to a com.esri.arcgis.geometry.IFunctionalSurface (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean update()
throws IOException,
AutomationException
update in interface IText3DElementIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IFillSymbol getSymbol()
throws IOException,
AutomationException
The Symbol property returns or sets the fill symbol used by the element to draw itself.
getSymbol in interface IFillShapeElementIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSymbol(IFillSymbol symbol)
throws IOException,
AutomationException
setSymbol in interface IFillShapeElementsymbol - A reference to a com.esri.arcgis.display.IFillSymbol (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISpatialReference getSpatialReference()
throws IOException,
AutomationException
SpatialReference is used to set (by reference) and retrieve the spatial reference of the graphic element.
getSpatialReference in interface IElementProperties3getSpatialReference in interface IGraphicElementIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSpatialReferenceByRef(ISpatialReference spatialRef)
throws IOException,
AutomationException
setSpatialReferenceByRef in interface IElementProperties3setSpatialReferenceByRef in interface IGraphicElementspatialRef - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isFixedAspectRatio()
throws IOException,
AutomationException
isFixedAspectRatio in interface IBoundsPropertiesIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFixedAspectRatio(boolean flag)
throws IOException,
AutomationException
setFixedAspectRatio in interface IBoundsPropertiesflag - The flag (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isFixedSize()
throws IOException,
AutomationException
isFixedSize in interface IBoundsPropertiesIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void move(double dx,
double dy)
throws IOException,
AutomationException
Moves the Geometry dX units along the X-Axis and dY units along the Y-Axis. Only changes the position of the Geometry without altering any of the other characteristics. Move is a spatial offset.

move in interface ITransform2Ddx - The dx (in)dy - The dy (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void moveVector(ILine v)
throws IOException,
AutomationException
Moves the Geometry dX units along the X-Axis and dY units along the Y-Axis, where dX and dY are calculated from the input vector Line. Only the Length and Angle of the vector affect the transformation. The location of the vector does not change the transformation. Only changes the position of the Geometry without altering any of the other characteristics. Move is a spatial offset.

moveVector in interface ITransform2Dv - A reference to a com.esri.arcgis.geometry.ILine (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void scale(IPoint origin,
double sx,
double sy)
throws IOException,
AutomationException
Stretches the Geometry a factor of sX along the X-Axis and a factor of sY along the Y-Axis (where sX is the ratio of Old Width to New Width, and sY is the ratio of Old Height to New Height). The Origin point is the reference Point from which the transformation is performed (Regardless of the location of the Origin point, the Geometry resulting from the transformation is the same, except for a positional offset). The Origin is the only point in the transformation guaranted to remain in the same location after the transformation is complete.
Note: Caution must be taken when scaling a CircularArc or a geometry containing CircularArc segments. Unless Abs(ScaleX) = Abs(ScaleY), the resulting CircularArcs will not retain the characteristics of the original geometry (since they remain CircularArcs).

scale in interface ITransform2Dorigin - A reference to a com.esri.arcgis.geometry.IPoint (in)sx - The sx (in)sy - The sy (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void rotate(IPoint origin,
double rotationAngle)
throws IOException,
AutomationException
Rotate performs an angular transform (rotation) on the Geometry. The Origin is the only point in the transformation guaranteed to remain in the same location after the transformation is performed. Regardless of the Origin, the transformed Geometry is the same, except for a positional offset. The RotationAngle is measured in radians.
An Envelope cannot be Rotated.

rotate in interface ITransform2Dorigin - A reference to a com.esri.arcgis.geometry.IPoint (in)rotationAngle - The rotationAngle (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void transform(int direction,
ITransformation transformation)
throws IOException,
AutomationException
transform in interface ITransform2Ddirection - A com.esri.arcgis.geometry.esriTransformDirection constant (in)transformation - A reference to a com.esri.arcgis.geometry.ITransformation (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean applies(Object pUnk)
throws IOException,
AutomationException
Applies indicates whether the specified object can be applied to the current object. For instance, we might want to ask our CircleElement whether a Color object applies to it. If it does, then we can use the Apply method to update our CircleElement with the new Color object.
CanApply differs from Applies in that it is a check for the editability of the object at any given time. Applies indicates whether an object can be applied at all, while CanApply indicates whether an object can be applied at that particular moment.
applies in interface IPropertySupportpUnk - A reference to another Object (IUnknown) (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean canApply(Object pUnk)
throws IOException,
AutomationException
CanApply indicates whether the specified object can be applied to the current object. For instance, we might want to ask our CircleElement whether a Color object applies to it. If it does, then we can use the Apply method to update our CircleElement with the new Color object.
CanApply differs from Applies in that it is a check for the editability of the object at any given time. Applies indicates whether an object can be applied at all, while CanApply indicates whether an object can be applied at that particular moment.
canApply in interface IPropertySupportpUnk - A reference to another Object (IUnknown) (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getCurrent(Object pUnk)
throws IOException,
AutomationException
getCurrent in interface IPropertySupportpUnk - A reference to another Object (IUnknown) (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object apply(Object newObject)
throws IOException,
AutomationException
Apply will apply the specified object to the current object. For instance, I might apply a Color object to my RectangleElement. When I execute Apply, the object I replace (the old object) is returned.
Use the Applies and CanApply methods to determine if an Apply can be used on an object.
apply in interface IPropertySupportnewObject - A reference to another Object (IUnknown) (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void isDirty()
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty in interface IPersistStreamIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pstm)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void save(IStream pstm,
int fClearDirty)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)fClearDirty - The fClearDirty (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getClassID(GUID[] pClassID)
throws IOException,
AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IClone esri_clone()
throws IOException,
AutomationException
esri_clone in interface ICloneIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void assign(IClone src)
throws IOException,
AutomationException
assign in interface IClonesrc - A reference to a com.esri.arcgis.system.IClone (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isEqual(IClone other)
throws IOException,
AutomationException
IsEqual returns True if the receiver and the source have the same properties. Note, this does not imply that the receiver and the source reference the same object.
isEqual in interface ICloneother - A reference to a com.esri.arcgis.system.IClone (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isIdentical(IClone other)
throws IOException,
AutomationException
IsIdentical returns true if the receiver and the source reference the same object.
isIdentical in interface ICloneother - A reference to a com.esri.arcgis.system.IClone (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean canRotate()
throws IOException,
AutomationException
canRotate in interface IElementProperties2canRotate in interface IElementProperties3IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getReferenceScale()
throws IOException,
AutomationException
getReferenceScale in interface IElementProperties2getReferenceScale in interface IElementProperties3IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReferenceScale(double referenceScale)
throws IOException,
AutomationException
setReferenceScale in interface IElementProperties2setReferenceScale in interface IElementProperties3referenceScale - The referenceScale (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int IElementProperties3_getAnchorPoint()
throws IOException,
AutomationException
IElementProperties3_getAnchorPoint in interface IElementProperties3IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAnchorPoint(int anchorPoint)
throws IOException,
AutomationException
setAnchorPoint in interface IElementProperties3anchorPoint - A com.esri.arcgis.carto.esriAnchorPointEnum constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||