|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IFormattedTextSymbol
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
Method Summary | |
---|---|
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 |
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 interface com.esri.arcgis.display.ITextSymbol |
---|
getAngle, getColor, getFont, getHorizontalAlignment, getSize, getText, getTextSize, getVerticalAlignment, isRightToLeft, setAngle, setColor, setFont, setHorizontalAlignment, setRightToLeft, setSize, setText, setVerticalAlignment |
Method Detail |
---|
IColor getShadowColor() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IHsvColor
,
IHlsColor
void setShadowColor(IColor shadowColor) throws IOException, AutomationException
ShadowColor is the color of the dropshadow. This can be any of the IColor interfaces.
shadowColor
- 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
double getShadowXOffset() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setShadowXOffset(double xOffset) throws IOException, AutomationException
xOffset
- The xOffset (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getShadowYOffset() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setShadowYOffset(double yOffset) throws IOException, AutomationException
yOffset
- The yOffset (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getPosition() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.esriTextPosition
void setPosition(int textPosition) throws IOException, AutomationException
textPosition
- A com.esri.arcgis.display.esriTextPosition constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.esriTextPosition
int getCase() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.esriTextCase
void setCase(int textCase) throws IOException, AutomationException
textCase
- A com.esri.arcgis.display.esriTextCase constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.esriTextCase
double getCharacterSpacing() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setCharacterSpacing(double characterSpacing) throws IOException, AutomationException
characterSpacing
- The characterSpacing (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.
characterWidth
- The characterWidth (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getWordSpacing() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.
wordSpacing
- The wordSpacing (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.
kerning
- The kerning (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.
leading
- The leading (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.
textDirection
- A com.esri.arcgis.display.esriTextDirection constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.
flipAngle
- The flipAngle (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.
background
- A reference to a com.esri.arcgis.display.ITextBackground (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.
typeSetting
- The typeSetting (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IFillSymbol getFillSymbol() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.
fillSymbol
- 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 |