|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.trackinganalyst.TextMarkerSymbol
public class TextMarkerSymbol
Class used to create a text marker symbol used to symbolize point geometries.
Constructor Summary | |
---|---|
TextMarkerSymbol()
Constructs a TextMarkerSymbol using ArcGIS Engine. |
|
TextMarkerSymbol(Object obj)
Construct a TextMarkerSymbol using a reference to such an object returned from ArcGIS Engine or Server. |
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. |
Object |
convertToSupportedObject(int docVersion)
Convert the object to another object that is supported. |
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()
Marker symbol 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()
Marker symbol 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. |
String |
getMarkerText()
String to be displayed as the text marker 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()
Marker symbol 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()
Symbol X-axis offset from point location. |
double |
getYOffset()
Symbol Y-axis offset from point location. |
int |
hashCode()
the hashcode for this object |
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 |
isSupportedAtVersion(int docVersion)
Is this object valid at the given document version. |
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 |
setAngle(double angle)
Marker symbol 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 |
setClip(boolean clip)
Indicates if the text will be clipped per geometry. |
void |
setColor(IColor color)
Marker symbol 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 |
setMarkerText(String pVal)
String to be displayed as the text marker 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 |
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)
Marker symbol 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)
Symbol X-axis offset from point location. |
void |
setYOffset(double yOffset)
Symbol Y-axis offset from point location. |
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 TextMarkerSymbol() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic TextMarkerSymbol(Object obj) throws IOException
obj
to TextMarkerSymbol
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
TextMarkerSymbol theTextMarkerSymbol = (TextMarkerSymbol) obj;
Method Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void setupDC(int hDC, ITransformation transformation) throws IOException, AutomationException
setupDC
in interface ISymbol
hDC
- 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 ISymbol
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void draw(IGeometry geometry) throws IOException, AutomationException
draw
in interface ISymbol
geometry
- 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 ISymbol
hDC
- 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 ISymbol
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setROP2(int drawMode) throws IOException, AutomationException
setROP2
in interface ISymbol
drawMode
- A com.esri.arcgis.display.esriRasterOpCode constant (in)
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 IClone
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void assign(IClone src) throws IOException, AutomationException
assign
in interface IClone
src
- 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 IClone
other
- 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 IClone
other
- 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 IDisplayName
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getSize() throws IOException, AutomationException
getSize
in interface IMarkerSymbol
getSize
in interface ITextSymbol
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSize(double size) throws IOException, AutomationException
setSize
in interface IMarkerSymbol
setSize
in interface ITextSymbol
size
- 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 IMarkerSymbol
getColor
in interface ITextSymbol
IOException
- 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 IMarkerSymbol
setColor
in interface ITextSymbol
color
- 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 getAngle() throws IOException, AutomationException
getAngle
in interface IMarkerSymbol
getAngle
in interface ITextSymbol
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAngle(double angle) throws IOException, AutomationException
setAngle
in interface IMarkerSymbol
setAngle
in interface ITextSymbol
angle
- The angle (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getXOffset() throws IOException, AutomationException
getXOffset
in interface IMarkerSymbol
getXOffset
in interface ISimpleTextSymbol
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setXOffset(double xOffset) throws IOException, AutomationException
setXOffset
in interface IMarkerSymbol
setXOffset
in interface ISimpleTextSymbol
xOffset
- 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 IMarkerSymbol
getYOffset
in interface ISimpleTextSymbol
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setYOffset(double yOffset) throws IOException, AutomationException
setYOffset
in interface IMarkerSymbol
setYOffset
in interface ISimpleTextSymbol
yOffset
- The yOffset (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getMarkerText() throws IOException, AutomationException
getMarkerText
in interface ITextMarkerSymbol
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMarkerText(String pVal) throws IOException, AutomationException
setMarkerText
in interface ITextMarkerSymbol
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isSupportedAtVersion(int docVersion) throws IOException, AutomationException
Use IsSupportedAtVersion to identify if a particular object should be saved to the ObjectStream. This result is based on the esriArcGISVersion enumeration. In some instances, if the object is not supported at a particular ArcGIS version, the object may support conversion to another similar object; use IDocumentVersionSupportGEN::ConvertToSupportedObject to accomplish this.
isSupportedAtVersion
in interface IDocumentVersionSupportGEN
docVersion
- A com.esri.arcgis.system.esriArcGISVersion constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object convertToSupportedObject(int docVersion) throws IOException, AutomationException
This method should be used when IDocumentVersionSupportGEN::IsSupportedAtVersion returns FALSE. Calling ConvertToSupportedObject will return an IUnknown pointer to a relevant object supported at the particular ArcGIS version. Not all objects will return a supported object; in these cases a null pointer will be returned.
convertToSupportedObject
in interface IDocumentVersionSupportGEN
docVersion
- A com.esri.arcgis.system.esriArcGISVersion constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IColor getShadowColor() throws IOException, AutomationException
getShadowColor
in interface IFormattedTextSymbol
IOException
- 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 IFormattedTextSymbol
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
public double getShadowXOffset() throws IOException, AutomationException
getShadowXOffset
in interface IFormattedTextSymbol
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setShadowXOffset(double xOffset) throws IOException, AutomationException
setShadowXOffset
in interface IFormattedTextSymbol
xOffset
- 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 IFormattedTextSymbol
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setShadowYOffset(double yOffset) throws IOException, AutomationException
setShadowYOffset
in interface IFormattedTextSymbol
yOffset
- 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 IFormattedTextSymbol
IOException
- 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 IFormattedTextSymbol
textPosition
- 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 IFormattedTextSymbol
IOException
- 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 IFormattedTextSymbol
textCase
- 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 IFormattedTextSymbol
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCharacterSpacing(double characterSpacing) throws IOException, AutomationException
setCharacterSpacing
in interface IFormattedTextSymbol
characterSpacing
- 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 IFormattedTextSymbol
IOException
- 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 IFormattedTextSymbol
characterWidth
- 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 IFormattedTextSymbol
IOException
- 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 IFormattedTextSymbol
wordSpacing
- 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 IFormattedTextSymbol
IOException
- 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 IFormattedTextSymbol
kerning
- 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 IFormattedTextSymbol
IOException
- 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 IFormattedTextSymbol
leading
- 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 IFormattedTextSymbol
IOException
- 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 IFormattedTextSymbol
textDirection
- 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 IFormattedTextSymbol
IOException
- 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 IFormattedTextSymbol
flipAngle
- 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 IFormattedTextSymbol
IOException
- 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 IFormattedTextSymbol
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.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 IFormattedTextSymbol
IOException
- 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 IFormattedTextSymbol
typeSetting
- 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 IFormattedTextSymbol
IOException
- 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 IFormattedTextSymbol
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.public Font getFont() throws IOException, AutomationException
getFont
in interface ITextSymbol
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFont(Font fontDisp) throws IOException, AutomationException
setFont
in interface ITextSymbol
fontDisp
- 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 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 ITextSymbol
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setVerticalAlignment(int vertAlignment) throws IOException, AutomationException
setVerticalAlignment
in interface ITextSymbol
vertAlignment
- 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 ITextSymbol
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHorizontalAlignment(int horizAlignment) throws IOException, AutomationException
setHorizontalAlignment
in interface ITextSymbol
horizAlignment
- A com.esri.arcgis.display.esriTextHorizontalAlignment constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isRightToLeft() throws IOException, AutomationException
isRightToLeft
in interface ITextSymbol
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRightToLeft(boolean rightToLeft) throws IOException, AutomationException
setRightToLeft
in interface ITextSymbol
rightToLeft
- 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 ITextSymbol
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setText(String text) throws IOException, AutomationException
setText
in interface ITextSymbol
text
- 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 ITextSymbol
hDC
- 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 ISimpleTextSymbol
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBreakCharacter(int charIndex) throws IOException, AutomationException
setBreakCharacter
in interface ISimpleTextSymbol
charIndex
- 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 ISimpleTextSymbol
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setClip(boolean clip) throws IOException, AutomationException
setClip
in interface ISimpleTextSymbol
clip
- 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 ISimpleTextSymbol
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTextPathByRef(ITextPath textPath) throws IOException, AutomationException
setTextPathByRef
in interface ISimpleTextSymbol
textPath
- 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 int getMapLevel() throws IOException, AutomationException
getMapLevel
in interface IMapLevel
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMapLevel(int mapLevel) throws IOException, AutomationException
setMapLevel
in interface IMapLevel
mapLevel
- The mapLevel (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 IPersistStream
IOException
- 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 IPersistStream
pstm
- 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 IPersistStream
pstm
- 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 IPersistStream
pcbSize
- 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 IPersist
pClassID
- 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 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 IPropertySupport
pUnk
- 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 IPropertySupport
pUnk
- 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 IPropertySupport
pUnk
- 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 IPropertySupport
newObject
- 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 ITextParserSupport
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTextParserByRef(ITextParser parser) throws IOException, AutomationException
setTextParserByRef
in interface ITextParserSupport
parser
- 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 IQueryGeometry
hDC
- 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 IQueryGeometry
hDC
- 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 void getDrawText(String origText, String[] pParsedText, Object[] pPositions) throws IOException, AutomationException
getDrawText
in interface ITextDrawSupport
origText
- 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 ITextDrawSupport
hDC
- 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 IWordBoundaries
hDC
- 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 writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |