|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.display.TextSymbol
public class 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.
IFormattedTextSymbol,
ITextSymbol,
ISimpleTextSymbol,
Serialized Form| Constructor Summary | |
|---|---|
TextSymbol()
Constructs a TextSymbol using ArcGIS Engine. |
|
TextSymbol(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. TextSymbol theTextSymbol = (TextSymbol) obj; |
|
| Method Summary | |
|---|---|
boolean |
applies(Object pUnk)
Indicates if the receiver can apply the given object at any given time. |
Object |
apply(Object newObject)
Applies the given property to the receiver and returns the old object. |
void |
assign(IClone src)
Assigns the properties of src to the receiver. |
boolean |
canApply(Object pUnk)
Indicates if the receiver can apply the given object at that particular moment. |
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML. |
void |
draw(IGeometry geometry)
Draws the specified shape. |
boolean |
equals(Object o)
Compare this object with another |
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone. |
double |
getAngle()
Text baseline angle. |
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)
getClassID |
static String |
getClsid()
getClsid. |
IColor |
getColor()
Text color. |
Object |
getCurrent(Object pUnk)
The object currently being used. |
int |
getDirection()
The text direction. |
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(String origText,
String[] pParsedText,
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. |
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)
getSizeMax |
String |
getText()
Text to draw. |
ITextParser |
getTextParser()
The text parser. |
ITextPath |
getTextPath()
Path of text baseline. |
void |
getTextSize(int hDC,
ITransformation transformation,
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()
isDirty |
boolean |
isEqual(IClone other)
Indicates if the receiver and other have the same properties. |
boolean |
isIdentical(IClone other)
Indicates if 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)
load |
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 |
readExternal(ObjectInput in)
|
void |
resetDC()
Restores DC to original state. |
void |
save(IStream pstm,
int fClearDirty)
save |
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(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. |
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public TextSymbol()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public TextSymbol(Object obj)
throws IOException
TextSymbol theTextSymbol = (TextSymbol) obj;
obj to TextSymbol.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public 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.
public Font getFont()
throws IOException,
AutomationException
getFont in interface ITextSymbolIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFont(Font fontDisp)
throws IOException,
AutomationException
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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getSize()
throws IOException,
AutomationException
getSize in interface ITextSymbolIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSize(double size)
throws IOException,
AutomationException
setSize in interface ITextSymbolsize - The size (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IColor getColor()
throws IOException,
AutomationException
getColor in interface ITextSymbolIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.IHsvColor,
IHlsColor
public void setColor(IColor color)
throws IOException,
AutomationException
setColor in interface ITextSymbolcolor - 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 int getVerticalAlignment()
throws IOException,
AutomationException
VerticalAlignment 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 ITextSymbolIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setVerticalAlignment(int vertAlignment)
throws IOException,
AutomationException
setVerticalAlignment in interface ITextSymbolvertAlignment - A com.esri.arcgis.display.esriTextVerticalAlignment constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getHorizontalAlignment()
throws IOException,
AutomationException
getHorizontalAlignment in interface ITextSymbolIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setHorizontalAlignment(int horizAlignment)
throws IOException,
AutomationException
setHorizontalAlignment in interface ITextSymbolhorizAlignment - A com.esri.arcgis.display.esriTextHorizontalAlignment constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getAngle()
throws IOException,
AutomationException
getAngle in interface ITextSymbolIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAngle(double angle)
throws IOException,
AutomationException
setAngle in interface ITextSymbolangle - The angle (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isRightToLeft()
throws IOException,
AutomationException
isRightToLeft in interface ITextSymbolIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRightToLeft(boolean rightToLeft)
throws IOException,
AutomationException
setRightToLeft in interface ITextSymbolrightToLeft - The rightToLeft (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getText()
throws IOException,
AutomationException
getText in interface ITextSymbolIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setText(String text)
throws IOException,
AutomationException
setText in interface ITextSymboltext - The text (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getTextSize(int hDC,
ITransformation transformation,
String text,
double[] xSize,
double[] ySize)
throws IOException,
AutomationException
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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getBreakCharacter()
throws IOException,
AutomationException
getBreakCharacter in interface ISimpleTextSymbolIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setBreakCharacter(int charIndex)
throws IOException,
AutomationException
setBreakCharacter in interface ISimpleTextSymbolcharIndex - The charIndex (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isClip()
throws IOException,
AutomationException
isClip in interface ISimpleTextSymbolIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setClip(boolean clip)
throws IOException,
AutomationException
setClip in interface ISimpleTextSymbolclip - The clip (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ITextPath getTextPath()
throws IOException,
AutomationException
getTextPath in interface ISimpleTextSymbolIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTextPathByRef(ITextPath textPath)
throws IOException,
AutomationException
setTextPathByRef in interface ISimpleTextSymboltextPath - A reference to a com.esri.arcgis.display.ITextPath (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getXOffset()
throws IOException,
AutomationException
getXOffset in interface ISimpleTextSymbolIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setXOffset(double xOffset)
throws IOException,
AutomationException
setXOffset in interface ISimpleTextSymbolxOffset - The xOffset (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getYOffset()
throws IOException,
AutomationException
getYOffset in interface ISimpleTextSymbolIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setYOffset(double yOffset)
throws IOException,
AutomationException
setYOffset in interface ISimpleTextSymbolyOffset - The yOffset (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getMapLevel()
throws IOException,
AutomationException
getMapLevel in interface IMapLevelIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMapLevel(int mapLevel)
throws IOException,
AutomationException
setMapLevel in interface IMapLevelmapLevel - The mapLevel (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setupDC(int hDC,
ITransformation transformation)
throws IOException,
AutomationException
setupDC in interface ISymbolhDC - The hDC (A COM typedef) (in)transformation - A reference to a com.esri.arcgis.geometry.ITransformation (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void resetDC()
throws IOException,
AutomationException
resetDC in interface ISymbolIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void draw(IGeometry geometry)
throws IOException,
AutomationException
draw in interface ISymbolgeometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void queryBoundary(int hDC,
ITransformation displayTransform,
IGeometry geometry,
IPolygon boundary)
throws IOException,
AutomationException
Valid 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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getROP2()
throws IOException,
AutomationException
getROP2 in interface ISymbolIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setROP2(int drawMode)
throws IOException,
AutomationException
setROP2 in interface ISymboldrawMode - A com.esri.arcgis.display.esriRasterOpCode constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isRotateWithTransform()
throws IOException,
AutomationException
isRotateWithTransform in interface ISymbolRotationIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRotateWithTransform(boolean flag)
throws IOException,
AutomationException
setRotateWithTransform in interface ISymbolRotationflag - The flag (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getMaskStyle()
throws IOException,
AutomationException
MaskStyle 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 IMaskIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMaskStyle(int style)
throws IOException,
AutomationException
MaskStyle 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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getMaskSize()
throws IOException,
AutomationException
MaskSize returns or Sets the Double (ASCII) number for the size of the mask in points (approx. 1/72 inch).
getMaskSize in interface IMaskIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMaskSize(double size)
throws IOException,
AutomationException
MaskSize 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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IFillSymbol getMaskSymbol()
throws IOException,
AutomationException
MaskSymbol is the fill symbol used as the mask. Any IFillSymbol interface can be used.
getMaskSymbol in interface IMaskIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMaskSymbolByRef(IFillSymbol fillSym)
throws IOException,
AutomationException
MaskSymbol is the fill symbol used as the mask. Any IFillSymbol interface can be used.
setMaskSymbolByRef in interface IMaskfillSym - A reference to a com.esri.arcgis.display.IFillSymbol (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void isDirty()
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty in interface IPersistStreamIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pstm)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void save(IStream pstm,
int fClearDirty)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)fClearDirty - The fClearDirty (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getClassID(GUID[] pClassID)
throws IOException,
AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IClone esri_clone()
throws IOException,
AutomationException
esri_clone in interface ICloneIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void assign(IClone src)
throws IOException,
AutomationException
assign in interface IClonesrc - A reference to a com.esri.arcgis.system.IClone (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isEqual(IClone other)
throws IOException,
AutomationException
IsEqual returns True if the receiver and the source have the same properties. Note, this does not imply that the receiver and the source reference the same object.
isEqual in interface ICloneother - A reference to a com.esri.arcgis.system.IClone (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isIdentical(IClone other)
throws IOException,
AutomationException
IsIdentical returns true if the receiver and the source reference the same object.
isIdentical in interface ICloneother - A reference to a com.esri.arcgis.system.IClone (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getNameString()
throws IOException,
AutomationException
getNameString in interface IDisplayNameIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean applies(Object pUnk)
throws IOException,
AutomationException
Applies indicates whether the specified object can be applied to the current object. For instance, we might want to ask our CircleElement whether a Color object applies to it. If it does, then we can use the Apply method to update our CircleElement with the new Color object.
CanApply differs from Applies in that it is a check for the editability of the object at any given time. Applies indicates whether an object can be applied at all, while CanApply indicates whether an object can be applied at that particular moment.
applies in interface IPropertySupportpUnk - A reference to another Object (IUnknown) (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean canApply(Object pUnk)
throws IOException,
AutomationException
CanApply indicates whether the specified object can be applied to the current object. For instance, we might want to ask our CircleElement whether a Color object applies to it. If it does, then we can use the Apply method to update our CircleElement with the new Color object.
CanApply differs from Applies in that it is a check for the editability of the object at any given time. Applies indicates whether an object can be applied at all, while CanApply indicates whether an object can be applied at that particular moment.
canApply in interface IPropertySupportpUnk - A reference to another Object (IUnknown) (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getCurrent(Object pUnk)
throws IOException,
AutomationException
getCurrent in interface IPropertySupportpUnk - A reference to another Object (IUnknown) (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object apply(Object newObject)
throws IOException,
AutomationException
Apply will apply the specified object to the current object. For instance, I might apply a Color object to my RectangleElement. When I execute Apply, the object I replace (the old object) is returned.
Use the Applies and CanApply methods to determine if an Apply can be used on an object.
apply in interface IPropertySupportnewObject - A reference to another Object (IUnknown) (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ITextParser getTextParser()
throws IOException,
AutomationException
getTextParser in interface ITextParserSupportIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTextParserByRef(ITextParser parser)
throws IOException,
AutomationException
setTextParserByRef in interface ITextParserSupportparser - A reference to a com.esri.arcgis.display.ITextParser (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGeometry getGeometry(int hDC,
ITransformation displayTransform,
IGeometry drawGeometry)
throws IOException,
AutomationException
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)
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 IOException,
AutomationException
You 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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getMargin()
throws IOException,
AutomationException
getMargin in interface IMarginPropertiesIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMargin(double margin)
throws IOException,
AutomationException
setMargin in interface IMarginPropertiesmargin - The margin (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getDrawText(String origText,
String[] pParsedText,
Object[] pPositions)
throws IOException,
AutomationException
getDrawText in interface ITextDrawSupportorigText - The origText (in)pParsedText - The pParsedText (out: use single element array)pPositions - A Variant (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getDrawPoints(int hDC,
ITransformation pTransform,
IGeometry pGeometry)
throws IOException,
AutomationException
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)
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 IOException,
AutomationException
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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void serialize(IXMLSerializeData data)
throws IOException,
AutomationException
serialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deserialize(IXMLSerializeData data)
throws IOException,
AutomationException
deserialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCJKCharactersRotation(boolean rotation)
throws IOException,
AutomationException
setCJKCharactersRotation in interface ICharacterOrientationrotation - The rotation (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isCJKCharactersRotation()
throws IOException,
AutomationException
isCJKCharactersRotation in interface ICharacterOrientationIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||