|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.arcgis.display.TextSymbol
A symbol that controls how text is displayed.
TextSymbol is the primary object for defining the display properties of a TextElement. Commonly edited properties can be set using ITextSymbol while additional interfaces such as ISimpleTextSymbol and IFormattedTextSymbol provide access to other display properties. Text properties such as highway shields and callouts are implemented as Text Backgrounds and can controlled using IFormattedTextSymbol:Background. The Text property of TextSymbol is only used for low level drawing of text. The text string should be set on the TextElement.
If you are editing Geodatabase Annotation, DO NOT control the display of annotation features by obtaining a reference to the TextSymbol through ITextElement::Symbol and change the properties. This will undermine the storage mechanism that Geodatabase Annotation utilizes for efficient storage. For more information on TextSymbols and Geodatabase Annotation, see the interface ISymbolCollectionElement.
| Constructor Summary | |
TextSymbol()
Constructs a TextSymbol using ArcGIS Engine. |
|
TextSymbol(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. |
|
| Method Summary | |
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. |
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML. |
void |
draw(IGeometry geometry)
Draws the specified shape. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone. |
double |
getAngle()
Text baseline angle. |
ICharacterOrientation |
getAsICharacterOrientation()
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. |
IDisplayName |
getAsIDisplayName()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IFormattedTextSymbol |
getAsIFormattedTextSymbol()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IMapLevel |
getAsIMapLevel()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IMarginProperties |
getAsIMarginProperties()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IMask |
getAsIMask()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IPersist |
getAsIPersist()
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. |
IQueryGeometry |
getAsIQueryGeometry()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
ISimpleTextSymbol |
getAsISimpleTextSymbol()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
ISymbol |
getAsISymbol()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
ISymbolRotation |
getAsISymbolRotation()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
ITextDrawSupport |
getAsITextDrawSupport()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
ITextParserSupport |
getAsITextParserSupport()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IWordBoundaries |
getAsIWordBoundaries()
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()
The text background object. |
int |
getBreakCharacter()
Character to be interpreted as text line end. |
int |
getCase()
The text case. |
double |
getCharacterSpacing()
The character spacing. |
double |
getCharacterWidth()
The character width. |
void |
getClassID(GUID[] pClassID)
Supported Platforms |
static java.lang.String |
getClsid()
|
IColor |
getColor()
Text color. |
java.lang.Object |
getCurrent(java.lang.Object pUnk)
The object currently being used. |
int |
getDirection()
The text direction. |
java.lang.Object |
getDrawPoints(int hDC,
ITransformation pTransform,
IGeometry pGeometry)
Gets an array of WKSPoints which represent the position at which each line of text is drawn; pGeometry must be a point. |
void |
getDrawText(java.lang.String origText,
java.lang.String[] pParsedText,
java.lang.Object[] pPositions)
Get text the way it will be drawn. |
IFillSymbol |
getFillSymbol()
The fill symbol. |
double |
getFlipAngle()
The flip angle. |
Font |
getFont()
Text font. |
IGeometry |
getGeometry(int hDC,
ITransformation displayTransform,
IGeometry drawGeometry)
Gets the actual geometry of the boundary of the object (which may or may not be a polygon). |
int |
getHorizontalAlignment()
Horizontal alignment style. |
double |
getLeading()
The character leading. |
int |
getMapLevel()
Current map level for drawing multi-level symbols. |
double |
getMargin()
Value for the margin. |
double |
getMaskSize()
The mask size. |
int |
getMaskStyle()
The mask style. |
IFillSymbol |
getMaskSymbol()
The mask symbol. |
java.lang.String |
getNameString()
The display name of an object. |
int |
getPosition()
The text position. |
int |
getROP2()
Raster operation code for pixel drawing. |
IColor |
getShadowColor()
The shadow color. |
double |
getShadowXOffset()
The shadow X offset. |
double |
getShadowYOffset()
The shadow Y offset. |
double |
getSize()
Text size. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
Supported Platforms |
java.lang.String |
getText()
Text to draw. |
ITextParser |
getTextParser()
The text parser. |
ITextPath |
getTextPath()
Path of text baseline. |
void |
getTextSize(int hDC,
ITransformation transformation,
java.lang.String text,
double[] xSize,
double[] ySize)
Gets the x and y dimensions of 'text' in points (1/72 inch). |
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 |
isCJKCharactersRotation()
Indicates if CJK charcters are rotated. |
boolean |
isClip()
Indicates if the text will be clipped per geometry. |
void |
isDirty()
Supported Platforms |
boolean |
isEqual(IClone other)
Returns TRUE when the receiver and other have the same properties. |
boolean |
isIdentical(IClone other)
Returns TRUE when the receiver and other are the same object. |
boolean |
isKerning()
Indicates if kerning is on. |
boolean |
isRightToLeft()
Indicates if the text is drawn from right to left. |
boolean |
isRotateWithTransform()
Indicates if the symbol rotates with the display. |
boolean |
isTypeSetting()
Indicates if typesetting is used. |
void |
load(IStream pstm)
Supported Platforms |
void |
queryBoundary(int hDC,
ITransformation displayTransform,
IGeometry geometry,
IPolygon boundary)
Fills an existing polygon with the boundary of the specified symbol. |
void |
queryEnvelope(int hDC,
ITransformation displayTransform,
IGeometry drawGeometry,
IEnvelope envelope)
Queries the envelope of the boundary of the object. |
void |
queryWordBoundaries(int hDC,
ITransformation displayTransform,
IGeometry geometry,
IGeometryBag boundaries)
Fills an existing geometry bag with the boundaries of the words in the text symbol. |
void |
resetDC()
Restores DC to original state. |
void |
save(IStream pstm,
int fClearDirty)
Supported Platforms |
void |
serialize(IXMLSerializeData data)
Serializes an object to XML. |
void |
setAngle(double angle)
Text baseline angle. |
void |
setBackgroundByRef(ITextBackground background)
The text background object. |
void |
setBreakCharacter(int charIndex)
Character to be interpreted as text line end. |
void |
setCase(int textCase)
The text case. |
void |
setCharacterSpacing(double characterSpacing)
The character spacing. |
void |
setCharacterWidth(double characterWidth)
The character width. |
void |
setCJKCharactersRotation(boolean rotation)
Indicates if CJK charcters are rotated. |
void |
setClip(boolean clip)
Indicates if the text will be clipped per geometry. |
void |
setColor(IColor color)
Text color. |
void |
setDirection(int textDirection)
The text direction. |
void |
setFillSymbolByRef(IFillSymbol fillSymbol)
The fill symbol. |
void |
setFlipAngle(double flipAngle)
The flip angle. |
void |
setFont(Font fontDisp)
Text font. |
void |
setHorizontalAlignment(int horizAlignment)
Horizontal alignment style. |
void |
setKerning(boolean kerning)
Indicates if kerning is on. |
void |
setLeading(double leading)
The character leading. |
void |
setMapLevel(int mapLevel)
Current map level for drawing multi-level symbols. |
void |
setMargin(double margin)
Value for the margin. |
void |
setMaskSize(double size)
The mask size. |
void |
setMaskStyle(int style)
The mask style. |
void |
setMaskSymbolByRef(IFillSymbol fillSym)
The mask symbol. |
void |
setPosition(int textPosition)
The text position. |
void |
setRightToLeft(boolean rightToLeft)
Indicates if the text is drawn from right to left. |
void |
setROP2(int drawMode)
Raster operation code for pixel drawing. |
void |
setRotateWithTransform(boolean flag)
Indicates if the symbol rotates with the display. |
void |
setShadowColor(IColor shadowColor)
The shadow color. |
void |
setShadowXOffset(double xOffset)
The shadow X offset. |
void |
setShadowYOffset(double yOffset)
The shadow Y offset. |
void |
setSize(double size)
Text size. |
void |
setText(java.lang.String text)
Text to draw. |
void |
setTextParserByRef(ITextParser parser)
The text parser. |
void |
setTextPathByRef(ITextPath textPath)
Path of text baseline. |
void |
setTypeSetting(boolean typeSetting)
Indicates if typesetting is used. |
void |
setupDC(int hDC,
ITransformation transformation)
Prepares the DC for drawing the symbol. |
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. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TextSymbol()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems
public TextSymbol(java.lang.Object obj)
throws java.io.IOException
obj to TextSymbol. TextSymbol theTextSymbol = (TextSymbol) 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 IFormattedTextSymbol getAsIFormattedTextSymbol()
public ISimpleTextSymbol getAsISimpleTextSymbol()
public IMapLevel getAsIMapLevel()
public ISymbol getAsISymbol()
public ISymbolRotation getAsISymbolRotation()
public IMask getAsIMask()
public IPersistStream getAsIPersistStream()
public IPersist getAsIPersist()
public IClone getAsIClone()
public IDisplayName getAsIDisplayName()
public IPropertySupport getAsIPropertySupport()
public ITextParserSupport getAsITextParserSupport()
public IQueryGeometry getAsIQueryGeometry()
public IMarginProperties getAsIMarginProperties()
public ITextDrawSupport getAsITextDrawSupport()
public IWordBoundaries getAsIWordBoundaries()
public IXMLSerialize getAsIXMLSerialize()
public ICharacterOrientation getAsICharacterOrientation()
public boolean equals(java.lang.Object o)
public int hashCode()
public IColor getShadowColor()
throws java.io.IOException,
AutomationException
IFormattedTextSymbol
getShadowColor in interface IFormattedTextSymbolAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setShadowColor(IColor shadowColor)
throws java.io.IOException,
AutomationException
IFormattedTextSymbolShadowColor is the color of the dropshadow. This can be any of the IColor interfaces.
setShadowColor in interface IFormattedTextSymbolshadowColor - A reference to a com.esri.arcgis.display.IColor (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getShadowXOffset()
throws java.io.IOException,
AutomationException
IFormattedTextSymbol
getShadowXOffset in interface IFormattedTextSymbolAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setShadowXOffset(double xOffset)
throws java.io.IOException,
AutomationException
IFormattedTextSymbol
setShadowXOffset in interface IFormattedTextSymbolxOffset - The xOffset (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public double getShadowYOffset()
throws java.io.IOException,
AutomationException
IFormattedTextSymbol
getShadowYOffset in interface IFormattedTextSymboljava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setShadowYOffset(double yOffset)
throws java.io.IOException,
AutomationException
IFormattedTextSymbol
setShadowYOffset in interface IFormattedTextSymbolyOffset - The yOffset (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getPosition()
throws java.io.IOException,
AutomationException
IFormattedTextSymbol
getPosition in interface IFormattedTextSymbolAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setPosition(int textPosition)
throws java.io.IOException,
AutomationException
IFormattedTextSymbol
setPosition in interface IFormattedTextSymboltextPosition - A com.esri.arcgis.display.esriTextPosition constant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getCase()
throws java.io.IOException,
AutomationException
IFormattedTextSymbol
getCase in interface IFormattedTextSymbolAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setCase(int textCase)
throws java.io.IOException,
AutomationException
IFormattedTextSymbol
setCase in interface IFormattedTextSymboltextCase - A com.esri.arcgis.display.esriTextCase constant (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public double getCharacterSpacing()
throws java.io.IOException,
AutomationException
IFormattedTextSymbol
getCharacterSpacing in interface IFormattedTextSymboljava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCharacterSpacing(double characterSpacing)
throws java.io.IOException,
AutomationException
IFormattedTextSymbol
setCharacterSpacing in interface IFormattedTextSymbolcharacterSpacing - 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
IFormattedTextSymbolCharacterWidth is the width that is added to each character beyond what is defined by its character box in its font. Character width is a percentage of the original character.
getCharacterWidth in interface IFormattedTextSymbolAutomationException - 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
IFormattedTextSymbolCharacterWidth is the width that is added to each character beyond what is defined by its character box in its font. Character width is a percentage of the original character.
setCharacterWidth in interface IFormattedTextSymbolcharacterWidth - 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
IFormattedTextSymbol
getWordSpacing in interface IFormattedTextSymbolAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setWordSpacing(double wordSpacing)
throws java.io.IOException,
AutomationException
IFormattedTextSymbolWordSpacing is the additional space that is added between words of the text string. Word spacing is a percentage of the original.
setWordSpacing in interface IFormattedTextSymbolwordSpacing - The wordSpacing (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isKerning()
throws java.io.IOException,
AutomationException
IFormattedTextSymbolKerning indicates whether the specific relationship of two adjacent characters within their character cells is examined and adjusted according to the predefined font metrics specific to each typeface.
isKerning in interface IFormattedTextSymboljava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setKerning(boolean kerning)
throws java.io.IOException,
AutomationException
IFormattedTextSymbolKerning indicates whether the specific relationship of two adjacent characters within their character cells is examined and adjusted according to the predefined font metrics specific to each typeface.
setKerning in interface IFormattedTextSymbolkerning - The kerning (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getLeading()
throws java.io.IOException,
AutomationException
IFormattedTextSymbolLeading specifies the adjustment to regular spacing between lines. 0 units means no adjustment to regular line spacing. Leading is generally equal to or greater than the text size.
getLeading in interface IFormattedTextSymbolAutomationException - 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
IFormattedTextSymbolLeading specifies the adjustment to regular spacing between lines. 0 units means no adjustment to regular line spacing. Leading is generally equal to or greater than the text size.
setLeading in interface IFormattedTextSymbolleading - The leading (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getDirection()
throws java.io.IOException,
AutomationException
IFormattedTextSymbolDirection is the enumeration that defines the flow direction of the text. There are three options: esriTDAngle, esriTDHorizontal, and esriTDVertical. esriTDHorizontal is the default Direction.
Direction is not yet implemented.
getDirection in interface IFormattedTextSymbolAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setDirection(int textDirection)
throws java.io.IOException,
AutomationException
IFormattedTextSymbolDirection is the enumeration that defines the flow direction of the text. There are three options: esriTDAngle, esriTDHorizontal, and esriTDVertical. esriTDHorizontal is the default Direction.
Direction is not yet implemented.
setDirection in interface IFormattedTextSymboltextDirection - A com.esri.arcgis.display.esriTextDirection 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
IFormattedTextSymbolFlipangle specifies the angle (in degrees from the vertical) at which point rotated text is flipped (mirrored) in place. The valid range is -360 to 360.
getFlipAngle in interface IFormattedTextSymboljava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFlipAngle(double flipAngle)
throws java.io.IOException,
AutomationException
IFormattedTextSymbolFlipangle specifies the angle (in degrees from the vertical) at which point rotated text is flipped (mirrored) in place. The valid range is -360 to 360.
setFlipAngle in interface IFormattedTextSymbolflipAngle - The flipAngle (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ITextBackground getBackground()
throws java.io.IOException,
AutomationException
IFormattedTextSymbolBackground is the object displayed behind the text. IBalloonCallout, ILineCallout, ISimpleLineCallout or IMarkerTextBackground can be used as backgrounds for text.
getBackground in interface IFormattedTextSymbolAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setBackgroundByRef(ITextBackground background)
throws java.io.IOException,
AutomationException
IFormattedTextSymbol
setBackgroundByRef in interface IFormattedTextSymbolbackground - 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 boolean isTypeSetting()
throws java.io.IOException,
AutomationException
IFormattedTextSymbolTypeSetting is a Boolean indicator that determines whether text formatting tags will be either executed or displayed as characters within the string. True - formatting tags will be executed. False - formatting tags will be displayed as characters.
isTypeSetting in interface IFormattedTextSymbolAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setTypeSetting(boolean typeSetting)
throws java.io.IOException,
AutomationException
IFormattedTextSymbolTypeSetting is a Boolean indicator that determines whether text formatting tags will be either executed or displayed as characters within the string. True - formatting tags will be executed. False - formatting tags will be displayed as characters.
setTypeSetting in interface IFormattedTextSymboltypeSetting - The typeSetting (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IFillSymbol getFillSymbol()
throws java.io.IOException,
AutomationException
IFormattedTextSymbol
getFillSymbol in interface IFormattedTextSymboljava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFillSymbolByRef(IFillSymbol fillSymbol)
throws java.io.IOException,
AutomationException
IFormattedTextSymbol
setFillSymbolByRef in interface IFormattedTextSymbolfillSymbol - A reference to a com.esri.arcgis.display.IFillSymbol (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public Font getFont()
throws java.io.IOException,
AutomationException
ITextSymbol
getFont in interface ITextSymbolAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setFont(Font fontDisp)
throws java.io.IOException,
AutomationException
ITextSymbol
setFont in interface ITextSymbolfontDisp - A reference to a com.esri.arcgis.support.ms.stdole.Font (A com.esri.arcgis.support.ms.stdole.Font COM typedef) (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getSize()
throws java.io.IOException,
AutomationException
ITextSymbol
getSize in interface ITextSymboljava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSize(double size)
throws java.io.IOException,
AutomationException
ITextSymbol
setSize in interface ITextSymbolsize - The size (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IColor getColor()
throws java.io.IOException,
AutomationException
ITextSymbol
getColor in interface ITextSymboljava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setColor(IColor color)
throws java.io.IOException,
AutomationException
ITextSymbol
setColor in interface ITextSymbolcolor - 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 int getVerticalAlignment()
throws java.io.IOException,
AutomationException
ITextSymbolVerticalAlignment is the enumeration that defines how text is vertically aligned. There are four options: esriTVABaseline, esriTVABottom, esriTVACenter, and esriTVATop. esriTVABaseline is the default VerticalAlignment.
getVerticalAlignment in interface ITextSymboljava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setVerticalAlignment(int vertAlignment)
throws java.io.IOException,
AutomationException
ITextSymbol
setVerticalAlignment in interface ITextSymbolvertAlignment - A com.esri.arcgis.display.esriTextVerticalAlignment constant (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getHorizontalAlignment()
throws java.io.IOException,
AutomationException
ITextSymbol
getHorizontalAlignment in interface ITextSymboljava.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
ITextSymbol
setHorizontalAlignment in interface ITextSymbolhorizAlignment - 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 getAngle()
throws java.io.IOException,
AutomationException
ITextSymbol
getAngle in interface ITextSymboljava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAngle(double angle)
throws java.io.IOException,
AutomationException
ITextSymbol
setAngle in interface ITextSymbolangle - The angle (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isRightToLeft()
throws java.io.IOException,
AutomationException
ITextSymbol
isRightToLeft in interface ITextSymbolAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setRightToLeft(boolean rightToLeft)
throws java.io.IOException,
AutomationException
ITextSymbol
setRightToLeft in interface ITextSymbolrightToLeft - The rightToLeft (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getText()
throws java.io.IOException,
AutomationException
ITextSymbol
getText in interface ITextSymboljava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setText(java.lang.String text)
throws java.io.IOException,
AutomationException
ITextSymbol
setText in interface ITextSymboltext - The text (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getTextSize(int hDC,
ITransformation transformation,
java.lang.String text,
double[] xSize,
double[] ySize)
throws java.io.IOException,
AutomationException
ITextSymbol
getTextSize in interface ITextSymbolhDC - The hDC (A COM typedef) (in)transformation - A reference to a com.esri.arcgis.geometry.ITransformation (in)text - The text (in)xSize - The xSize (out: use single element array)ySize - The ySize (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getBreakCharacter()
throws java.io.IOException,
AutomationException
ISimpleTextSymbol
getBreakCharacter in interface ISimpleTextSymboljava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setBreakCharacter(int charIndex)
throws java.io.IOException,
AutomationException
ISimpleTextSymbol
setBreakCharacter in interface ISimpleTextSymbolcharIndex - The charIndex (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isClip()
throws java.io.IOException,
AutomationException
ISimpleTextSymbol
isClip in interface ISimpleTextSymboljava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setClip(boolean clip)
throws java.io.IOException,
AutomationException
ISimpleTextSymbol
setClip in interface ISimpleTextSymbolclip - The clip (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ITextPath getTextPath()
throws java.io.IOException,
AutomationException
ISimpleTextSymbol
getTextPath in interface ISimpleTextSymboljava.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
ISimpleTextSymbol
setTextPathByRef in interface ISimpleTextSymboltextPath - 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 double getXOffset()
throws java.io.IOException,
AutomationException
ISimpleTextSymbol
getXOffset in interface ISimpleTextSymbolAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setXOffset(double xOffset)
throws java.io.IOException,
AutomationException
ISimpleTextSymbol
setXOffset in interface ISimpleTextSymbolxOffset - 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
ISimpleTextSymbol
getYOffset in interface ISimpleTextSymbolAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setYOffset(double yOffset)
throws java.io.IOException,
AutomationException
ISimpleTextSymbol
setYOffset in interface ISimpleTextSymbolyOffset - The yOffset (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getMapLevel()
throws java.io.IOException,
AutomationException
IMapLevel
getMapLevel in interface IMapLevelAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setMapLevel(int mapLevel)
throws java.io.IOException,
AutomationException
IMapLevel
setMapLevel in interface IMapLevelmapLevel - The mapLevel (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setupDC(int hDC,
ITransformation transformation)
throws java.io.IOException,
AutomationException
ISymbol
setupDC in interface ISymbolhDC - The hDC (A COM typedef) (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 resetDC()
throws java.io.IOException,
AutomationException
ISymbol
resetDC in interface ISymboljava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void draw(IGeometry geometry)
throws java.io.IOException,
AutomationException
ISymbol
draw in interface ISymbolgeometry - 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 queryBoundary(int hDC,
ITransformation displayTransform,
IGeometry geometry,
IPolygon boundary)
throws java.io.IOException,
AutomationException
ISymbolValid input Geometries are as follows:
For MarkerSymbols, the Geometry must be an IPoint.
For Fill Symbols, the Geometry can be either an IPolygon or an IEnvelope.
For Line Symbols, the Geometry must be an IPolyline.
queryBoundary in interface ISymbolhDC - The hDC (A COM typedef) (in)displayTransform - A reference to a com.esri.arcgis.geometry.ITransformation (in)geometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)boundary - A reference to a com.esri.arcgis.geometry.IPolygon (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getROP2()
throws java.io.IOException,
AutomationException
ISymbol
getROP2 in interface ISymbolAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setROP2(int drawMode)
throws java.io.IOException,
AutomationException
ISymbol
setROP2 in interface ISymboldrawMode - A com.esri.arcgis.display.esriRasterOpCode constant (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isRotateWithTransform()
throws java.io.IOException,
AutomationException
ISymbolRotation
isRotateWithTransform in interface ISymbolRotationAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setRotateWithTransform(boolean flag)
throws java.io.IOException,
AutomationException
ISymbolRotation
setRotateWithTransform in interface ISymbolRotationflag - The flag (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getMaskStyle()
throws java.io.IOException,
AutomationException
IMaskMaskStyle is the enumeration that defines the shape of the mask. There are two options: esriMSHalo and esriMSNone. esriMSNone is the default MaskStyle.
getMaskStyle in interface IMaskjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMaskStyle(int style)
throws java.io.IOException,
AutomationException
IMaskMaskStyle is the enumeration that defines the shape of the mask. There are two options: esriMSHalo and esriMSNone. esriMSNone is the default MaskStyle.
setMaskStyle in interface IMaskstyle - A com.esri.arcgis.display.esriMaskStyle constant (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public double getMaskSize()
throws java.io.IOException,
AutomationException
IMaskMaskSize returns or Sets the Double (ASCII) number for the size of the mask in points (approx. 1/72 inch).
getMaskSize in interface IMaskjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMaskSize(double size)
throws java.io.IOException,
AutomationException
IMaskMaskSize returns or Sets the Double (ASCII) number for the size of the mask in points (approx. 1/72 inch).
setMaskSize in interface IMasksize - The size (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IFillSymbol getMaskSymbol()
throws java.io.IOException,
AutomationException
IMaskMaskSymbol is the fill symbol used as the mask. Any IFillSymbol interface can be used.
getMaskSymbol in interface IMaskAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setMaskSymbolByRef(IFillSymbol fillSym)
throws java.io.IOException,
AutomationException
IMask
setMaskSymbolByRef in interface IMaskfillSym - A reference to a com.esri.arcgis.display.IFillSymbol (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 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 java.lang.String getNameString()
throws java.io.IOException,
AutomationException
IDisplayName
getNameString in interface IDisplayNameAutomationException - 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 ITextParser getTextParser()
throws java.io.IOException,
AutomationException
ITextParserSupport
getTextParser in interface ITextParserSupportAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setTextParserByRef(ITextParser parser)
throws java.io.IOException,
AutomationException
ITextParserSupport
setTextParserByRef in interface ITextParserSupportparser - A reference to a com.esri.arcgis.display.ITextParser (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IGeometry getGeometry(int hDC,
ITransformation displayTransform,
IGeometry drawGeometry)
throws java.io.IOException,
AutomationException
IQueryGeometry
getGeometry in interface IQueryGeometryhDC - The hDC (A COM typedef) (in)displayTransform - A reference to a com.esri.arcgis.geometry.ITransformation (in)drawGeometry - 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 queryEnvelope(int hDC,
ITransformation displayTransform,
IGeometry drawGeometry,
IEnvelope envelope)
throws java.io.IOException,
AutomationException
IQueryGeometryYou must instantiate the Envelope before calling QueryEnvelope. For example,
Dim pEnv as IEnvelope Set pEnv = New Envelope
queryEnvelope in interface IQueryGeometryhDC - The hDC (A COM typedef) (in)displayTransform - A reference to a com.esri.arcgis.geometry.ITransformation (in)drawGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)envelope - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public double getMargin()
throws java.io.IOException,
AutomationException
IMarginProperties
getMargin in interface IMarginPropertiesAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setMargin(double margin)
throws java.io.IOException,
AutomationException
IMarginProperties
setMargin in interface IMarginPropertiesmargin - The margin (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getDrawText(java.lang.String origText,
java.lang.String[] pParsedText,
java.lang.Object[] pPositions)
throws java.io.IOException,
AutomationException
ITextDrawSupport
getDrawText in interface ITextDrawSupportorigText - The origText (in)pParsedText - The pParsedText (out: use single element array)pPositions - A Variant (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.Object getDrawPoints(int hDC,
ITransformation pTransform,
IGeometry pGeometry)
throws java.io.IOException,
AutomationException
ITextDrawSupport
getDrawPoints in interface ITextDrawSupporthDC - The hDC (A COM typedef) (in)pTransform - A reference to a com.esri.arcgis.geometry.ITransformation (in)pGeometry - 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 queryWordBoundaries(int hDC,
ITransformation displayTransform,
IGeometry geometry,
IGeometryBag boundaries)
throws java.io.IOException,
AutomationException
IWordBoundaries
queryWordBoundaries in interface IWordBoundarieshDC - The hDC (A COM typedef) (in)displayTransform - A reference to a com.esri.arcgis.geometry.ITransformation (in)geometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)boundaries - A reference to a com.esri.arcgis.geometry.IGeometryBag (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.
public void setCJKCharactersRotation(boolean rotation)
throws java.io.IOException,
AutomationException
ICharacterOrientation
setCJKCharactersRotation in interface ICharacterOrientationrotation - The rotation (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isCJKCharactersRotation()
throws java.io.IOException,
AutomationException
ICharacterOrientation
isCJKCharactersRotation in interface ICharacterOrientationAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||