|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITextSymbol
Provides access to members that control text symbols.
ITextSymbol is the generic interface for properties of IFormattedTextSymbol and ISimpleTextSymbol.
IFormattedTextSymbol
,
ITextSymbol
,
ISimpleTextSymbol
Method Summary | |
---|---|
double |
getAngle()
Text baseline angle. |
IColor |
getColor()
Text color. |
Font |
getFont()
Text font. |
int |
getHorizontalAlignment()
Horizontal alignment style. |
double |
getSize()
Text size. |
String |
getText()
Text to draw. |
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. |
boolean |
isRightToLeft()
Indicates if the text is drawn from right to left. |
void |
setAngle(double angle)
Text baseline angle. |
void |
setColor(IColor color)
Text color. |
void |
setFont(Font fontDisp)
Text font. |
void |
setHorizontalAlignment(int horizAlignment)
Horizontal alignment style. |
void |
setRightToLeft(boolean rightToLeft)
Indicates if the text is drawn from right to left. |
void |
setSize(double size)
Text size. |
void |
setText(String text)
Text to draw. |
void |
setVerticalAlignment(int vertAlignment)
Vertical alignment style. |
Method Detail |
---|
Font getFont() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setFont(Font fontDisp) throws IOException, AutomationException
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.double getSize() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSize(double size) throws IOException, AutomationException
size
- The size (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IColor getColor() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IHsvColor
,
IHlsColor
void setColor(IColor color) throws IOException, AutomationException
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
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.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setVerticalAlignment(int vertAlignment) throws IOException, AutomationException
vertAlignment
- A com.esri.arcgis.display.esriTextVerticalAlignment constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getHorizontalAlignment() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setHorizontalAlignment(int horizAlignment) throws IOException, AutomationException
horizAlignment
- A com.esri.arcgis.display.esriTextHorizontalAlignment constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getAngle() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setAngle(double angle) throws IOException, AutomationException
angle
- The angle (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isRightToLeft() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setRightToLeft(boolean rightToLeft) throws IOException, AutomationException
rightToLeft
- The rightToLeft (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getText() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setText(String text) throws IOException, AutomationException
text
- The text (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void getTextSize(int hDC, ITransformation transformation, String text, double[] xSize, double[] ySize) throws IOException, AutomationException
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |