|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.display.ITextSymbolProxy
com.esri.arcgis.display.IFormattedTextSymbolProxy
public class IFormattedTextSymbolProxy
Provides access to members that control the formatted text symbol.
Change the spread of characters in the text string by setting the CharacterSpacing property, which indicates the spacing between each character as a percentage. The default is 0, which indicates the standard character spacing, but values of -200 to 200 are valid. Lines of text can be spaced by setting the Leading property, whose units are Points.
You can change the case of every alphabetic character in the text string by setting the Case property to one of the esriTextCase constants.
You can also create subscript and superscript text by setting the Position property.
IFormattedTextSymbol,
ITextSymbol,
ISimpleTextSymbol,
Serialized Form| Field Summary | |
|---|---|
boolean |
noncastable
|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
|---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
| Constructor Summary | |
|---|---|
|
IFormattedTextSymbolProxy()
|
|
IFormattedTextSymbolProxy(Object obj)
|
protected |
IFormattedTextSymbolProxy(Object obj,
String iid)
|
| Method Summary | |
|---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
ITextBackground |
getBackground()
The text background object. |
int |
getCase()
The text case. |
double |
getCharacterSpacing()
The character spacing. |
double |
getCharacterWidth()
The character width. |
int |
getDirection()
The text direction. |
IFillSymbol |
getFillSymbol()
The fill symbol. |
double |
getFlipAngle()
The flip angle. |
double |
getLeading()
The character leading. |
int |
getPosition()
The text position. |
IColor |
getShadowColor()
The shadow color. |
double |
getShadowXOffset()
The shadow X offset. |
double |
getShadowYOffset()
The shadow Y offset. |
double |
getWordSpacing()
The word spacing. |
boolean |
isKerning()
Indicates if kerning is on. |
boolean |
isTypeSetting()
Indicates if typesetting is used. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
setBackgroundByRef(ITextBackground background)
The text background object. |
void |
setCase(int textCase)
The text case. |
void |
setCharacterSpacing(double characterSpacing)
The character spacing. |
void |
setCharacterWidth(double characterWidth)
The character width. |
void |
setDirection(int textDirection)
The text direction. |
void |
setFillSymbolByRef(IFillSymbol fillSymbol)
The fill symbol. |
void |
setFlipAngle(double flipAngle)
The flip angle. |
void |
setKerning(boolean kerning)
Indicates if kerning is on. |
void |
setLeading(double leading)
The character leading. |
void |
setPosition(int textPosition)
The text position. |
void |
setShadowColor(IColor shadowColor)
The shadow color. |
void |
setShadowXOffset(double xOffset)
The shadow X offset. |
void |
setShadowYOffset(double yOffset)
The shadow Y offset. |
void |
setTypeSetting(boolean typeSetting)
Indicates if typesetting is used. |
void |
setWordSpacing(double wordSpacing)
The word spacing. |
| Methods inherited from class com.esri.arcgis.display.ITextSymbolProxy |
|---|
getAngle, getColor, getFont, getHorizontalAlignment, getSize, getText, getTextSize, getVerticalAlignment, isRightToLeft, setAngle, setColor, setFont, setHorizontalAlignment, setRightToLeft, setSize, setText, setVerticalAlignment |
| Methods inherited from class com.esri.arcgis.interop.Dispatch |
|---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.display.ITextSymbol |
|---|
getAngle, getColor, getFont, getHorizontalAlignment, getSize, getText, getTextSize, getVerticalAlignment, isRightToLeft, setAngle, setColor, setFont, setHorizontalAlignment, setRightToLeft, setSize, setText, setVerticalAlignment |
| Field Detail |
|---|
public boolean noncastable
| Constructor Detail |
|---|
public IFormattedTextSymbolProxy()
public IFormattedTextSymbolProxy(Object obj)
throws IOException
IOException
protected IFormattedTextSymbolProxy(Object obj,
String iid)
throws IOException
IOException| Method Detail |
|---|
public void addListener(String iidStr,
Object theListener,
Object theSource)
throws IOException
addListener in class ITextSymbolProxyIOException
public void removeListener(String iidStr,
Object theListener)
throws IOException
removeListener in class ITextSymbolProxyIOException
public IColor getShadowColor()
throws IOException,
AutomationException
getShadowColor in interface IFormattedTextSymbolIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.IHsvColor,
IHlsColor
public void setShadowColor(IColor shadowColor)
throws IOException,
AutomationException
ShadowColor 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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.IHsvColor,
IHlsColor
public double getShadowXOffset()
throws IOException,
AutomationException
getShadowXOffset in interface IFormattedTextSymbolIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setShadowXOffset(double xOffset)
throws IOException,
AutomationException
setShadowXOffset in interface IFormattedTextSymbolxOffset - The xOffset (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getShadowYOffset()
throws IOException,
AutomationException
getShadowYOffset in interface IFormattedTextSymbolIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setShadowYOffset(double yOffset)
throws IOException,
AutomationException
setShadowYOffset in interface IFormattedTextSymbolyOffset - The yOffset (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getPosition()
throws IOException,
AutomationException
getPosition in interface IFormattedTextSymbolIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.esriTextPosition
public void setPosition(int textPosition)
throws IOException,
AutomationException
setPosition in interface IFormattedTextSymboltextPosition - A com.esri.arcgis.display.esriTextPosition constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.esriTextPosition
public int getCase()
throws IOException,
AutomationException
getCase in interface IFormattedTextSymbolIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.esriTextCase
public void setCase(int textCase)
throws IOException,
AutomationException
setCase in interface IFormattedTextSymboltextCase - A com.esri.arcgis.display.esriTextCase constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.esriTextCase
public double getCharacterSpacing()
throws IOException,
AutomationException
getCharacterSpacing in interface IFormattedTextSymbolIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCharacterSpacing(double characterSpacing)
throws IOException,
AutomationException
setCharacterSpacing in interface IFormattedTextSymbolcharacterSpacing - The characterSpacing (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getCharacterWidth()
throws IOException,
AutomationException
CharacterWidth 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 IFormattedTextSymbolIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCharacterWidth(double characterWidth)
throws IOException,
AutomationException
CharacterWidth 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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getWordSpacing()
throws IOException,
AutomationException
getWordSpacing in interface IFormattedTextSymbolIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setWordSpacing(double wordSpacing)
throws IOException,
AutomationException
WordSpacing 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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isKerning()
throws IOException,
AutomationException
Kerning 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 IFormattedTextSymbolIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setKerning(boolean kerning)
throws IOException,
AutomationException
Kerning 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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getLeading()
throws IOException,
AutomationException
Leading 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 IFormattedTextSymbolIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLeading(double leading)
throws IOException,
AutomationException
Leading 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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getDirection()
throws IOException,
AutomationException
Direction 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 IFormattedTextSymbolIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDirection(int textDirection)
throws IOException,
AutomationException
Direction 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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getFlipAngle()
throws IOException,
AutomationException
Flipangle 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 IFormattedTextSymbolIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFlipAngle(double flipAngle)
throws IOException,
AutomationException
Flipangle 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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ITextBackground getBackground()
throws IOException,
AutomationException
Background is the object displayed behind the text. IBalloonCallout, ILineCallout, ISimpleLineCallout or IMarkerTextBackground can be used as backgrounds for text.
getBackground in interface IFormattedTextSymbolIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setBackgroundByRef(ITextBackground background)
throws IOException,
AutomationException
Background is the object displayed behind the text. IBalloonCallout, ILineCallout, ISimpleLineCallout or IMarkerTextBackground can be used as backgrounds for text.
setBackgroundByRef in interface IFormattedTextSymbolbackground - A reference to a com.esri.arcgis.display.ITextBackground (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isTypeSetting()
throws IOException,
AutomationException
TypeSetting 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 IFormattedTextSymbolIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTypeSetting(boolean typeSetting)
throws IOException,
AutomationException
TypeSetting 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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IFillSymbol getFillSymbol()
throws IOException,
AutomationException
getFillSymbol in interface IFormattedTextSymbolIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFillSymbolByRef(IFillSymbol fillSymbol)
throws IOException,
AutomationException
FillSymbol is the fill symbol used to render the text. This can be any of the IFillSymbol interfaces.
setFillSymbolByRef in interface IFormattedTextSymbolfillSymbol - A reference to a com.esri.arcgis.display.IFillSymbol (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||