|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.display.ITextSymbolProxy
public class ITextSymbolProxy
Provides access to members that control text symbols.
ITextSymbol is the generic interface for properties of IFormattedTextSymbol and ISimpleTextSymbol.
IFormattedTextSymbol,
ITextSymbol,
ISimpleTextSymbol,
Serialized Form| Field Summary | |
|---|---|
boolean |
noncastable
|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
|---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
| Constructor Summary | |
|---|---|
|
ITextSymbolProxy()
|
|
ITextSymbolProxy(Object obj)
|
protected |
ITextSymbolProxy(Object obj,
String iid)
|
| Method Summary | |
|---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
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 |
removeListener(String iidStr,
Object theListener)
|
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. |
| Methods inherited from class com.esri.arcgis.interop.Dispatch |
|---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public boolean noncastable
| Constructor Detail |
|---|
public ITextSymbolProxy()
public ITextSymbolProxy(Object obj)
throws IOException
IOException
protected ITextSymbolProxy(Object obj,
String iid)
throws IOException
IOException| Method Detail |
|---|
public void addListener(String iidStr,
Object theListener,
Object theSource)
throws IOException
addListener in class com.esri.arcgis.interop.DispatchIOException
public void removeListener(String iidStr,
Object theListener)
throws IOException
removeListener in class com.esri.arcgis.interop.DispatchIOException
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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||