|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.arcgis.carto.TextElement
The Graphic Element to display text.
The TextElement object has many roles from the title of a map layout to a piece of feature-linked annotation and everything in between. Every piece of text or annotation on a map or layout is a TextElement, with the exception of paragraph text which is a ParagraphTextElement . The primary interface for the TextElement object is ITextElement, but like most elements, the object is usually passed using an IElement interface pointer.
Use this object when you want to place text on a map, layout, or in an annotation feature class.
Geometry: TextElement accepts geometry of type esriGeometryPoint, esriGeometryPolyline, or esriGeometryBag. For drawing text in a polygon or envelope, use a ParagraphTextElement. TextElement's with a Polyline or GeometryBag geometry type will have an associated text path type. Specifically, GeometryBag geomtries are used with a WordTextPath to draw multipart text. The GeometryBag may consist of points, lines, or multipoints. Multipoint geometries in this cases correspond to the multipart equivalent of an OverposterTextPath where each glyph in the text string has a defined position.
IElement,
IGraphicElement,
Serialized Form| Constructor Summary | |
TextElement()
Constructs a TextElement using ArcGIS Engine. |
|
TextElement(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. |
|
| Method Summary | |
void |
activate(IDisplay display)
Prepare to display graphic on screen. |
boolean |
applies(java.lang.Object pUnk)
Indicates if the receiver can apply the given object at any given time. |
java.lang.Object |
apply(java.lang.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(java.lang.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 |
convertToMultiPart(IDisplay pDisplay)
Converts the current element into a multipart element. |
void |
convertToSinglePart()
Converts the current element into a single part element. |
void |
deactivate()
ActiveView that graphics are displayed on is no longer visible. |
void |
deletePart(int index)
Delete a part in the multipart element at the specified index. |
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML. |
void |
draw(IDisplay display,
ITrackCancel trackCancel)
Draws the element into the given display object. |
void |
drawESRIAnno(IStream stream,
ISymbolCollection symbolCollection,
ISpatialReference spatialRef,
IDisplay display)
Draws the anno in a compressed format. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone. |
void |
exportToESRIAnno(IStream stream)
Saves the anno in a compressed format. |
IBoundsProperties |
getAsIBoundsProperties()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IClone |
getAsIClone()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IElement |
getAsIElement()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IElementEditCallout |
getAsIElementEditCallout()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IElementEditVertices |
getAsIElementEditVertices()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IElementProperties |
getAsIElementProperties()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IElementProperties2 |
getAsIElementProperties2()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IElementProperties3 |
getAsIElementProperties3()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IGraphicElement |
getAsIGraphicElement()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IGroupSymbolElement |
getAsIGroupSymbolElement()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IMultiPartTextElement |
getAsIMultiPartTextElement()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IPersistStream |
getAsIPersistStream()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IPropertySupport |
getAsIPropertySupport()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
ISymbolCollectionElement |
getAsISymbolCollectionElement()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
ITextElement |
getAsITextElement()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
ITransform2D |
getAsITransform2D()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IXMLSerialize |
getAsIXMLSerialize()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
ITextBackground |
getBackground()
Background symbol. |
double |
getCharacterSpacing()
The character spacing. |
double |
getCharacterWidth()
The character width. |
void |
getClassID(GUID[] pClassID)
Supported Platforms |
static java.lang.String |
getClsid()
|
IColor |
getColor()
Font color. |
java.lang.Object |
getCurrent(java.lang.Object pUnk)
The object currently being used. |
java.lang.Object |
getCustomProperty()
Custom property. |
double |
getFlipAngle()
Flip angle. |
java.lang.String |
getFontName()
Font name. |
IGeometry |
getGeometry()
Shape of the element as a geometry. |
int |
getHorizontalAlignment()
Horizontal alignment style. |
double |
getLeading()
The character leading. |
ISelectionTracker |
getMoveTextSelectionTracker()
Returns the selection tracker to move the text used by this element. |
ISelectionTracker |
getMoveVerticesSelectionTracker()
Selection tracker to move points used by this element. |
java.lang.String |
getName()
Name of the element. |
int |
getOverriddenProperties()
Overridden properties. |
int |
getOverriddenPropertiesExclusionMask()
Mask used to exclude overrides when drawing. |
int |
getPartCount()
The number of parts in the multipart element. |
double |
getReferenceScale()
Reference scale of the element. |
ISelectionTracker |
getSelectionTracker()
Selection tracker used by this element. |
ISymbol |
getSharedSymbol()
Collection symbol. |
double |
getSize()
Font size. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
Supported Platforms |
ISpatialReference |
getSpatialReference()
Spatial reference of the container. |
ITextSymbol |
getSymbol()
Text symbol this element uses to draw itself. |
int |
getSymbolID()
Symbol ID associated with this element. |
java.lang.String |
getText()
Text being displayed by this element. |
ITextPath |
getTextPath()
Text path. |
java.lang.String |
getType()
Type of the element. |
int |
getVerticalAlignment()
Vertical alignment style. |
double |
getWordSpacing()
The word spacing. |
double |
getXOffset()
Text offset along X-axis. |
double |
getYOffset()
Text offset along Y-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. |
IPoint |
IGroupSymbolElement_getAnchorPoint()
Callout anchor point. |
void |
importFromESRIAnno(IStream stream,
ISpatialReference spatialReference)
Loads the anno in a compressed format. |
void |
importFromESRIAnno(IStream stream,
ISpatialReference spatialReference,
ISymbolCollection symbolCollection)
Loads the anno in a compressed format. |
void |
insertPart(int index,
java.lang.String text,
IGeometry geometry)
Insert a part in the multipart element at the specified index. |
boolean |
isAutoTransform()
Indicates if transform is applied to symbols and other parts of element. |
boolean |
isBold()
Indicates whether bold fonts style. |
void |
isDirty()
Supported Platforms |
boolean |
isEditingCallout()
Indicates if this element is editing it's callout. |
boolean |
isEqual(IClone other)
Returns TRUE when 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)
Returns TRUE when the receiver and other are the same object. |
boolean |
isItalic()
Indicates whether italic font style. |
boolean |
isLocked()
Indicates if the element is in a read-only state. |
boolean |
isMovingVertices()
Indicates if this element is moving its vertices. |
boolean |
isMultipart()
Indicates if the element is multi part. |
boolean |
isScaleText()
Indicates if the text scales with the map. |
boolean |
isUnderline()
Indicates whether underline font style. |
IPoint |
ISymbolCollectionElement_getAnchorPoint()
Callout anchor point. |
void |
load(IStream pstm)
Supported Platforms |
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. |
IElement |
queryPart(int index)
Returns the part in the multipart element at the specified index. |
void |
replacePart(int index,
java.lang.String text,
IGeometry geometry)
Replace a part in the multipart element at the specified index. |
void |
rotate(IPoint origin,
double rotationAngle)
Rotates about the specified origin point. |
void |
save(IStream pstm,
int fClearDirty)
Supported Platforms |
void |
scale(IPoint origin,
double sx,
double sy)
Scales about the specified origin using seperate horizonal and vertical scales. |
void |
serialize(IXMLSerializeData data)
Serializes an object to XML. |
void |
setAnchorPoint(int anchorPoint)
Anchor point of the element. |
void |
setAnchorPoint(IPoint anchorPoint)
Callout anchor point. |
void |
setAutoTransform(boolean autoTransform)
Indicates if transform is applied to symbols and other parts of element. |
void |
setBackgroundByRef(ITextBackground symbol)
Background symbol. |
void |
setBold(boolean bold)
Indicates whether bold fonts style. |
void |
setCharacterSpacing(double characterSpacing)
The character spacing. |
void |
setCharacterWidth(double characterWidth)
The character width. |
void |
setColor(IColor color)
Font color. |
void |
setCustomProperty(java.lang.Object customProperty)
Custom property. |
void |
setEditingCallout(boolean flag)
Indicates if this element is editing it's callout. |
void |
setFixedAspectRatio(boolean flag)
Indicates if the bounds has a fixed aspect ratio. |
void |
setFlipAngle(double flipAngle)
Flip angle. |
void |
setFontName(java.lang.String fontName)
Font name. |
void |
setGeometry(IGeometry pGeometry)
Shape of the element as a geometry. |
void |
setGroupSymbol(int symbolID,
ISymbol rhs2)
The symbol ID associated with this element. |
void |
setHorizontalAlignment(int horizAlignment)
Horizontal alignment style. |
void |
setItalic(boolean italic)
Indicates whether italic font style. |
void |
setLeading(double leading)
The character leading. |
void |
setLocked(boolean pLocked)
Indicates if the element is in a read-only state. |
void |
setMovingVertices(boolean flag)
Indicates if this element is moving its vertices. |
void |
setName(java.lang.String name)
Name of the element. |
void |
setOverriddenProperties(int props)
Overridden properties. |
void |
setOverriddenPropertiesExclusionMask(int mask)
Mask used to exclude overrides when drawing. |
void |
setReferenceScale(double referenceScale)
Reference scale of the element. |
void |
setScaleText(boolean scale)
Indicates if the text scales with the map. |
void |
setSharedSymbol(int symbolID,
ISymbol rhs2)
The symbol ID associated with this element. |
void |
setSize(double pointSize)
Font size. |
void |
setSpatialReferenceByRef(ISpatialReference spatialRef)
Spatial reference of the container. |
void |
setSymbol(ITextSymbol symbol)
Text symbol this element uses to draw itself. |
void |
setSymbolID(int symbolID)
Symbol ID associated with this element. |
void |
setText(java.lang.String text)
Text being displayed by this element. |
void |
setTextPathByRef(ITextPath textPath)
Text path. |
void |
setType(java.lang.String name)
Type of the element. |
void |
setUnderline(boolean underline)
Indicates whether underline font style. |
void |
setVerticalAlignment(int vertAlignment)
Vertical alignment style. |
void |
setWordSpacing(double wordSpacing)
The word spacing. |
void |
setXOffset(double xOffset)
Text offset along X-axis. |
void |
setYOffset(double yOffset)
Text offset along Y-axis. |
void |
synchronizeParts(IDisplay pDisplay)
Synchronize the geometry with the text of the element. |
void |
transform(int direction,
ITransformation transformation)
Applies an arbitrary transformation. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TextElement()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems
public TextElement(java.lang.Object obj)
throws java.io.IOException
obj to TextElement. TextElement theTextElement = (TextElement) obj;
obj - an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems| Method Detail |
public static java.lang.String getClsid()
public IElement getAsIElement()
public IElementProperties getAsIElementProperties()
public IElementProperties2 getAsIElementProperties2()
public IElementProperties3 getAsIElementProperties3()
public ITextElement getAsITextElement()
public IGraphicElement getAsIGraphicElement()
public IBoundsProperties getAsIBoundsProperties()
public IGroupSymbolElement getAsIGroupSymbolElement()
public ISymbolCollectionElement getAsISymbolCollectionElement()
public ITransform2D getAsITransform2D()
public IPersistStream getAsIPersistStream()
public IPropertySupport getAsIPropertySupport()
public IElementEditVertices getAsIElementEditVertices()
public IElementEditCallout getAsIElementEditCallout()
public IClone getAsIClone()
public IMultiPartTextElement getAsIMultiPartTextElement()
public IXMLSerialize getAsIXMLSerialize()
public boolean equals(java.lang.Object o)
public int hashCode()
public IGeometry getGeometry()
throws java.io.IOException,
AutomationException
IElement
getGeometry in interface IElementjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setGeometry(IGeometry pGeometry)
throws java.io.IOException,
AutomationException
IElement
setGeometry in interface IElementpGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void queryBounds(IDisplay display,
IEnvelope bounds)
throws java.io.IOException,
AutomationException
IElementQueryBounds 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)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void queryOutline(IDisplay display,
IPolygon outline)
throws java.io.IOException,
AutomationException
IElementQueryOutline 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)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISelectionTracker getSelectionTracker()
throws java.io.IOException,
AutomationException
IElement
getSelectionTracker in interface IElementAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.IElementEditVertices
public boolean hitTest(double x,
double y,
double tolerance)
throws java.io.IOException,
AutomationException
IElementHitTest 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)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void draw(IDisplay display,
ITrackCancel trackCancel)
throws java.io.IOException,
AutomationException
IElement
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)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void activate(IDisplay display)
throws java.io.IOException,
AutomationException
IElement
activate in interface IElementdisplay - A reference to a com.esri.arcgis.display.IDisplay (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void deactivate()
throws java.io.IOException,
AutomationException
IElement
deactivate in interface IElementjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isLocked()
throws java.io.IOException,
AutomationException
IElementThe Locked property indicates whether the specified element can be updated. This property can be set to FALSE to stop users from modifying a particular element.
isLocked in interface IElementAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setLocked(boolean pLocked)
throws java.io.IOException,
AutomationException
IElement
setLocked in interface IElementpLocked - The pLocked (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.String getName()
throws java.io.IOException,
AutomationException
IElementPropertiesThe Name property is used to store a name associated with the custom property assigned to the element.
getName in interface IElementPropertiesAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setName(java.lang.String name)
throws java.io.IOException,
AutomationException
IElementProperties
setName in interface IElementPropertiesname - The name (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.String getType()
throws java.io.IOException,
AutomationException
IElementPropertiesType is a string used to specify the type of property that has been assigned to the element.
getType in interface IElementPropertiesAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setType(java.lang.String name)
throws java.io.IOException,
AutomationException
IElementProperties
setType in interface IElementPropertiesname - The name (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isAutoTransform()
throws java.io.IOException,
AutomationException
IElementPropertiesAutoTransform 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 IElementPropertiesjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAutoTransform(boolean autoTransform)
throws java.io.IOException,
AutomationException
IElementProperties
setAutoTransform in interface IElementPropertiesautoTransform - The autoTransform (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.Object getCustomProperty()
throws java.io.IOException,
AutomationException
IElementPropertiesCustomProperty 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 IElementPropertiesAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setCustomProperty(java.lang.Object customProperty)
throws java.io.IOException,
AutomationException
IElementPropertiesCustomProperty 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 IElementPropertiescustomProperty - A Variant (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean canRotate()
throws java.io.IOException,
AutomationException
IElementProperties2
canRotate in interface IElementProperties2AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public double getReferenceScale()
throws java.io.IOException,
AutomationException
IElementProperties2
getReferenceScale in interface IElementProperties2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReferenceScale(double referenceScale)
throws java.io.IOException,
AutomationException
IElementProperties2
setReferenceScale in interface IElementProperties2referenceScale - The referenceScale (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int IElementProperties3_getAnchorPoint()
throws java.io.IOException,
AutomationException
IElementProperties3
IElementProperties3_getAnchorPoint in interface IElementProperties3java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAnchorPoint(int anchorPoint)
throws java.io.IOException,
AutomationException
IElementProperties3
setAnchorPoint in interface IElementProperties3anchorPoint - A com.esri.arcgis.carto.esriAnchorPointEnum constant (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public ISpatialReference getSpatialReference()
throws java.io.IOException,
AutomationException
IElementProperties3
getSpatialReference in interface IElementProperties3AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setSpatialReferenceByRef(ISpatialReference spatialRef)
throws java.io.IOException,
AutomationException
IElementProperties3
setSpatialReferenceByRef in interface IElementProperties3spatialRef - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ITextSymbol getSymbol()
throws java.io.IOException,
AutomationException
ITextElementThe Symbol property returns or sets the ITextSymbol associated with the TextElement. The Symbol property represents the symbology being used to display the text on the map.
The size characteristic of the Symbol property is also affected by the ScaleText property. If this property is set to True, the size will scale along with the current scale of the map. If the ScaleText property is False, then the size will remain constant.
getSymbol in interface ITextElementjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSymbol(ITextSymbol symbol)
throws java.io.IOException,
AutomationException
ITextElement
setSymbol in interface ITextElementsymbol - A reference to a com.esri.arcgis.display.ITextSymbol (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.String getText()
throws java.io.IOException,
AutomationException
ITextElementThe Text property returns or sets the text string used displayed on the map. Use this property to manipulate the string associated with the TextElement.
getText in interface ITextElementAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setText(java.lang.String text)
throws java.io.IOException,
AutomationException
ITextElement
setText in interface ITextElementtext - The text (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isScaleText()
throws java.io.IOException,
AutomationException
ITextElementThe ScaleText property specifies whether or not the size of the TextElement should change when the scale of the map changes. If the ScaleText property is set to True, then the size of the text will increase or decrease along with the scale of the map. If the property is False, then the size will remain constant.
The actual size of the text on the screen is based on the Symbol property of the TextElement and the setting of the ScaleText property. When the ScaleText property is True, the size of the TextElement will be a combination of the Symbol property, the reference scale for the layer, and the current scale of the map.
isScaleText in interface ITextElementjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setScaleText(boolean scale)
throws java.io.IOException,
AutomationException
ITextElement
setScaleText in interface ITextElementscale - The scale (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isFixedAspectRatio()
throws java.io.IOException,
AutomationException
IBoundsProperties
isFixedAspectRatio in interface IBoundsPropertiesAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setFixedAspectRatio(boolean flag)
throws java.io.IOException,
AutomationException
IBoundsProperties
setFixedAspectRatio in interface IBoundsPropertiesflag - The flag (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isFixedSize()
throws java.io.IOException,
AutomationException
IBoundsProperties
isFixedSize in interface IBoundsPropertiesjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getSymbolID()
throws java.io.IOException,
AutomationException
IGroupSymbolElement
getSymbolID in interface IGroupSymbolElementjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSymbolID(int symbolID)
throws java.io.IOException,
AutomationException
IGroupSymbolElement
setSymbolID in interface IGroupSymbolElementsymbolID - The symbolID (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setGroupSymbol(int symbolID,
ISymbol rhs2)
throws java.io.IOException,
AutomationException
IGroupSymbolElement
setGroupSymbol in interface IGroupSymbolElementsymbolID - The symbolID (in)rhs2 - A reference to a com.esri.arcgis.display.ISymbol (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void exportToESRIAnno(IStream stream)
throws java.io.IOException,
AutomationException
IGroupSymbolElement
exportToESRIAnno in interface IGroupSymbolElementstream - A reference to a com.esri.arcgis.system.IStream (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void importFromESRIAnno(IStream stream,
ISpatialReference spatialReference)
throws java.io.IOException,
AutomationException
IGroupSymbolElement
importFromESRIAnno in interface IGroupSymbolElementstream - A reference to a com.esri.arcgis.system.IStream (in)spatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void drawESRIAnno(IStream stream,
ISymbolCollection symbolCollection,
ISpatialReference spatialRef,
IDisplay display)
throws java.io.IOException,
AutomationException
IGroupSymbolElement
drawESRIAnno in interface IGroupSymbolElementstream - A reference to a com.esri.arcgis.system.IStream (in)symbolCollection - A reference to a com.esri.arcgis.display.ISymbolCollection (in)spatialRef - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)display - A reference to a com.esri.arcgis.display.IDisplay (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public double getXOffset()
throws java.io.IOException,
AutomationException
IGroupSymbolElement
getXOffset in interface IGroupSymbolElementjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setXOffset(double xOffset)
throws java.io.IOException,
AutomationException
IGroupSymbolElement
setXOffset in interface IGroupSymbolElementxOffset - The xOffset (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getYOffset()
throws java.io.IOException,
AutomationException
IGroupSymbolElement
getYOffset in interface IGroupSymbolElementjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setYOffset(double yOffset)
throws java.io.IOException,
AutomationException
IGroupSymbolElement
setYOffset in interface IGroupSymbolElementyOffset - The yOffset (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getVerticalAlignment()
throws java.io.IOException,
AutomationException
IGroupSymbolElement
getVerticalAlignment in interface IGroupSymbolElementAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setVerticalAlignment(int vertAlignment)
throws java.io.IOException,
AutomationException
IGroupSymbolElement
setVerticalAlignment in interface IGroupSymbolElementvertAlignment - A com.esri.arcgis.display.esriTextVerticalAlignment constant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getHorizontalAlignment()
throws java.io.IOException,
AutomationException
IGroupSymbolElement
getHorizontalAlignment in interface IGroupSymbolElementjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setHorizontalAlignment(int horizAlignment)
throws java.io.IOException,
AutomationException
IGroupSymbolElement
setHorizontalAlignment in interface IGroupSymbolElementhorizAlignment - A com.esri.arcgis.display.esriTextHorizontalAlignment constant (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public double getFlipAngle()
throws java.io.IOException,
AutomationException
IGroupSymbolElement
getFlipAngle in interface IGroupSymbolElementAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setFlipAngle(double flipAngle)
throws java.io.IOException,
AutomationException
IGroupSymbolElement
setFlipAngle in interface IGroupSymbolElementflipAngle - The flipAngle (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPoint IGroupSymbolElement_getAnchorPoint()
throws java.io.IOException,
AutomationException
IGroupSymbolElement
IGroupSymbolElement_getAnchorPoint in interface IGroupSymbolElementAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setAnchorPoint(IPoint anchorPoint)
throws java.io.IOException,
AutomationException
IGroupSymbolElement
setAnchorPoint in interface IGroupSymbolElementanchorPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public double getSize()
throws java.io.IOException,
AutomationException
IGroupSymbolElement
getSize in interface IGroupSymbolElementjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSize(double pointSize)
throws java.io.IOException,
AutomationException
IGroupSymbolElement
setSize in interface IGroupSymbolElementpointSize - The pointSize (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IColor getColor()
throws java.io.IOException,
AutomationException
IGroupSymbolElement
getColor in interface IGroupSymbolElementAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setColor(IColor color)
throws java.io.IOException,
AutomationException
IGroupSymbolElement
setColor in interface IGroupSymbolElementcolor - A reference to a com.esri.arcgis.display.IColor (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public ITextPath getTextPath()
throws java.io.IOException,
AutomationException
IGroupSymbolElement
getTextPath in interface IGroupSymbolElementjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTextPathByRef(ITextPath textPath)
throws java.io.IOException,
AutomationException
IGroupSymbolElement
setTextPathByRef in interface IGroupSymbolElementtextPath - A reference to a com.esri.arcgis.display.ITextPath (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setSharedSymbol(int symbolID,
ISymbol rhs2)
throws java.io.IOException,
AutomationException
ISymbolCollectionElement
setSharedSymbol in interface ISymbolCollectionElementsymbolID - The symbolID (in)rhs2 - A reference to a com.esri.arcgis.display.ISymbol (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISymbol getSharedSymbol()
throws java.io.IOException,
AutomationException
ISymbolCollectionElement
getSharedSymbol in interface ISymbolCollectionElementjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void importFromESRIAnno(IStream stream,
ISpatialReference spatialReference,
ISymbolCollection symbolCollection)
throws java.io.IOException,
AutomationException
ISymbolCollectionElement
importFromESRIAnno in interface ISymbolCollectionElementstream - A reference to a com.esri.arcgis.system.IStream (in)spatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)symbolCollection - A reference to a com.esri.arcgis.display.ISymbolCollection (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPoint ISymbolCollectionElement_getAnchorPoint()
throws java.io.IOException,
AutomationException
ISymbolCollectionElement
ISymbolCollectionElement_getAnchorPoint in interface ISymbolCollectionElementAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public double getCharacterSpacing()
throws java.io.IOException,
AutomationException
ISymbolCollectionElement
getCharacterSpacing in interface ISymbolCollectionElementAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setCharacterSpacing(double characterSpacing)
throws java.io.IOException,
AutomationException
ISymbolCollectionElement
setCharacterSpacing in interface ISymbolCollectionElementcharacterSpacing - The characterSpacing (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getCharacterWidth()
throws java.io.IOException,
AutomationException
ISymbolCollectionElement
getCharacterWidth in interface ISymbolCollectionElementAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setCharacterWidth(double characterWidth)
throws java.io.IOException,
AutomationException
ISymbolCollectionElement
setCharacterWidth in interface ISymbolCollectionElementcharacterWidth - The characterWidth (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public double getWordSpacing()
throws java.io.IOException,
AutomationException
ISymbolCollectionElement
getWordSpacing in interface ISymbolCollectionElementjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setWordSpacing(double wordSpacing)
throws java.io.IOException,
AutomationException
ISymbolCollectionElement
setWordSpacing in interface ISymbolCollectionElementwordSpacing - The wordSpacing (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public double getLeading()
throws java.io.IOException,
AutomationException
ISymbolCollectionElement
getLeading in interface ISymbolCollectionElementAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setLeading(double leading)
throws java.io.IOException,
AutomationException
ISymbolCollectionElement
setLeading in interface ISymbolCollectionElementleading - The leading (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isBold()
throws java.io.IOException,
AutomationException
ISymbolCollectionElement
isBold in interface ISymbolCollectionElementjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setBold(boolean bold)
throws java.io.IOException,
AutomationException
ISymbolCollectionElement
setBold in interface ISymbolCollectionElementbold - The bold (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.String getFontName()
throws java.io.IOException,
AutomationException
ISymbolCollectionElement
getFontName in interface ISymbolCollectionElementAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setFontName(java.lang.String fontName)
throws java.io.IOException,
AutomationException
ISymbolCollectionElement
setFontName in interface ISymbolCollectionElementfontName - The fontName (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isItalic()
throws java.io.IOException,
AutomationException
ISymbolCollectionElement
isItalic in interface ISymbolCollectionElementAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setItalic(boolean italic)
throws java.io.IOException,
AutomationException
ISymbolCollectionElement
setItalic in interface ISymbolCollectionElementitalic - The italic (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isUnderline()
throws java.io.IOException,
AutomationException
ISymbolCollectionElement
isUnderline in interface ISymbolCollectionElementAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setUnderline(boolean underline)
throws java.io.IOException,
AutomationException
ISymbolCollectionElement
setUnderline in interface ISymbolCollectionElementunderline - The underline (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public ITextBackground getBackground()
throws java.io.IOException,
AutomationException
ISymbolCollectionElement
getBackground in interface ISymbolCollectionElementAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setBackgroundByRef(ITextBackground symbol)
throws java.io.IOException,
AutomationException
ISymbolCollectionElement
setBackgroundByRef in interface ISymbolCollectionElementsymbol - A reference to a com.esri.arcgis.display.ITextBackground (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setOverriddenProperties(int props)
throws java.io.IOException,
AutomationException
ISymbolCollectionElement
setOverriddenProperties in interface ISymbolCollectionElementprops - The props (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getOverriddenProperties()
throws java.io.IOException,
AutomationException
ISymbolCollectionElementThis property returns the sum of values which represent the overriden properties of this element. This property can be evaluated by performing an Xor comparison of the value and the individual override values availible from esriSymbolOverrideEnum. If the element is not referencing a symbol in the symbol collection, this value will be 0.
To reset the element to have no overrides, set the value of the property to 0. Putting values into this property can be used to clear overrides. For instance, if the overrride value is 3 meaning that both X and Y Offset are overriden, you can set the override value to 1 and remove the Y Offset.
getOverriddenProperties in interface ISymbolCollectionElementjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setOverriddenPropertiesExclusionMask(int mask)
throws java.io.IOException,
AutomationException
ISymbolCollectionElement
setOverriddenPropertiesExclusionMask in interface ISymbolCollectionElementmask - The mask (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getOverriddenPropertiesExclusionMask()
throws java.io.IOException,
AutomationException
ISymbolCollectionElement
getOverriddenPropertiesExclusionMask in interface ISymbolCollectionElementjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void move(double dx,
double dy)
throws java.io.IOException,
AutomationException
ITransform2DMoves 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)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void moveVector(ILine v)
throws java.io.IOException,
AutomationException
ITransform2DMoves 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)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void scale(IPoint origin,
double sx,
double sy)
throws java.io.IOException,
AutomationException
ITransform2DStretches 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)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void rotate(IPoint origin,
double rotationAngle)
throws java.io.IOException,
AutomationException
ITransform2DRotate 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)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void transform(int direction,
ITransformation transformation)
throws java.io.IOException,
AutomationException
ITransform2D
transform in interface ITransform2Ddirection - A com.esri.arcgis.geometry.esriTransformDirection constant (in)transformation - A reference to a com.esri.arcgis.geometry.ITransformation (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void isDirty()
throws java.io.IOException,
AutomationException
IPersistStreamIPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty in interface IPersistStreamjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pstm)
throws java.io.IOException,
AutomationException
IPersistStreamIPersistStream 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)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void save(IStream pstm,
int fClearDirty)
throws java.io.IOException,
AutomationException
IPersistStreamIPersistStream 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)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
throws java.io.IOException,
AutomationException
IPersistStreamIPersistStream 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)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void getClassID(GUID[] pClassID)
throws java.io.IOException,
AutomationException
IPersistIPersist 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)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean applies(java.lang.Object pUnk)
throws java.io.IOException,
AutomationException
IPropertySupportApplies 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)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean canApply(java.lang.Object pUnk)
throws java.io.IOException,
AutomationException
IPropertySupportCanApply 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)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.Object getCurrent(java.lang.Object pUnk)
throws java.io.IOException,
AutomationException
IPropertySupportCurrent will return you the current object of the specified type. For instance, I may ask a CircleElement if it supports a Color object. If it does, then I can use Current to get the Color object currently applied to my CircleElement.
getCurrent in interface IPropertySupportpUnk - A reference to another Object (IUnknown) (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.Object apply(java.lang.Object newObject)
throws java.io.IOException,
AutomationException
IPropertySupportApply 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)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public ISelectionTracker getMoveVerticesSelectionTracker()
throws java.io.IOException,
AutomationException
IElementEditVerticesGetMoveVerticesSelection returns the ISelectionTracker being used to edit the vertices of the graphic element. This method is unaffected by the MovingVertices flag. The selection tracker returned will always be the appropriate one to use for moving the vertex points of this object. The MovingVertices property is independent and just tells get_SelectionTracker to either hand out the normal selection tracker or forward the call on to GetMoveVerticesSelectionTracker.
getMoveVerticesSelectionTracker in interface IElementEditVerticesAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isMovingVertices()
throws java.io.IOException,
AutomationException
IElementEditVertices
isMovingVertices in interface IElementEditVerticesjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMovingVertices(boolean flag)
throws java.io.IOException,
AutomationException
IElementEditVertices
setMovingVertices in interface IElementEditVerticesflag - The flag (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public ISelectionTracker getMoveTextSelectionTracker()
throws java.io.IOException,
AutomationException
IElementEditCallout
getMoveTextSelectionTracker in interface IElementEditCalloutAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isEditingCallout()
throws java.io.IOException,
AutomationException
IElementEditCallout
isEditingCallout in interface IElementEditCalloutjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setEditingCallout(boolean flag)
throws java.io.IOException,
AutomationException
IElementEditCallout
setEditingCallout in interface IElementEditCalloutflag - The flag (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IClone esri_clone()
throws java.io.IOException,
AutomationException
IClone
esri_clone in interface IClonejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void assign(IClone src)
throws java.io.IOException,
AutomationException
IClone
assign in interface IClonesrc - A reference to a com.esri.arcgis.system.IClone (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isEqual(IClone other)
throws java.io.IOException,
AutomationException
IClone
isEqual in interface ICloneother - A reference to a com.esri.arcgis.system.IClone (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isIdentical(IClone other)
throws java.io.IOException,
AutomationException
IClone
isIdentical in interface ICloneother - A reference to a com.esri.arcgis.system.IClone (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void convertToMultiPart(IDisplay pDisplay)
throws java.io.IOException,
AutomationException
IMultiPartTextElement
convertToMultiPart in interface IMultiPartTextElementpDisplay - A reference to a com.esri.arcgis.display.IDisplay (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void convertToSinglePart()
throws java.io.IOException,
AutomationException
IMultiPartTextElement
convertToSinglePart in interface IMultiPartTextElementAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isMultipart()
throws java.io.IOException,
AutomationException
IMultiPartTextElement
isMultipart in interface IMultiPartTextElementjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getPartCount()
throws java.io.IOException,
AutomationException
IMultiPartTextElement
getPartCount in interface IMultiPartTextElementAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IElement queryPart(int index)
throws java.io.IOException,
AutomationException
IMultiPartTextElement
queryPart in interface IMultiPartTextElementindex - The index (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void replacePart(int index,
java.lang.String text,
IGeometry geometry)
throws java.io.IOException,
AutomationException
IMultiPartTextElement
replacePart in interface IMultiPartTextElementindex - The index (in)text - The text (in)geometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void insertPart(int index,
java.lang.String text,
IGeometry geometry)
throws java.io.IOException,
AutomationException
IMultiPartTextElement
insertPart in interface IMultiPartTextElementindex - The index (in)text - The text (in)geometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void deletePart(int index)
throws java.io.IOException,
AutomationException
IMultiPartTextElement
deletePart in interface IMultiPartTextElementindex - The index (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void synchronizeParts(IDisplay pDisplay)
throws java.io.IOException,
AutomationException
IMultiPartTextElement
synchronizeParts in interface IMultiPartTextElementpDisplay - A reference to a com.esri.arcgis.display.IDisplay (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void serialize(IXMLSerializeData data)
throws java.io.IOException,
AutomationException
IXMLSerialize
serialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deserialize(IXMLSerializeData data)
throws java.io.IOException,
AutomationException
IXMLSerialize
deserialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
java.io.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 | |||||||||