com.esri.arcgis.display
Interface ITextSymbol

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
IFormattedTextSymbol, ISimpleTextSymbol
All Known Implementing Classes:
IFormattedTextSymbolProxy, ISimpleTextSymbolProxy, ITextSymbolProxy, TextMarkerSymbol, TextSymbol

public interface ITextSymbol
extends java.io.Serializable

COM Interface 'ITextSymbol'. Generated 3/19/2015 1:20:51 PM from 'C:\ArcGIS\COM\esriDisplay.olb'

Description: 'Provides access to members that control text symbols.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IIDa80b5e91_7f9c_11d0_9410_080009eebecb
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 double getAngle()
          Text baseline angle.
 IColor getColor()
          Text color.
 Font getFont()
          Text font.
 int getHorizontalAlignment()
          Horizontal alignment style.
 double getSize()
          Text size.
 java.lang.String getText()
          Text to draw.
 void getTextSize(int hDC, ITransformation transformation, java.lang.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(java.lang.String text)
          Text to draw.
 void setVerticalAlignment(int vertAlignment)
          Vertical alignment style.
 

Field Detail

IIDa80b5e91_7f9c_11d0_9410_080009eebecb

static final int IIDa80b5e91_7f9c_11d0_9410_080009eebecb
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

getFont

Font getFont()
             throws java.io.IOException,
                    AutomationException
Text font.

Returns:
A reference to a com.esri.arcgis.support.ms.stdole.Font (A com.esri.arcgis.support.ms.stdole.Font COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFont

void setFont(Font fontDisp)
             throws java.io.IOException,
                    AutomationException
Text font.

Parameters:
fontDisp - A reference to a com.esri.arcgis.support.ms.stdole.Font (A com.esri.arcgis.support.ms.stdole.Font COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSize

double getSize()
               throws java.io.IOException,
                      AutomationException
Text size.

Returns:
The size
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSize

void setSize(double size)
             throws java.io.IOException,
                    AutomationException
Text size.

Parameters:
size - The size (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getColor

IColor getColor()
                throws java.io.IOException,
                       AutomationException
Text color.

Returns:
A reference to a com.esri.arcgis.display.IColor
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setColor

void setColor(IColor color)
              throws java.io.IOException,
                     AutomationException
Text color.

Parameters:
color - A reference to a com.esri.arcgis.display.IColor (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVerticalAlignment

int getVerticalAlignment()
                         throws java.io.IOException,
                                AutomationException
Vertical alignment style.

Returns:
A com.esri.arcgis.display.esriTextVerticalAlignment constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setVerticalAlignment

void setVerticalAlignment(int vertAlignment)
                          throws java.io.IOException,
                                 AutomationException
Vertical alignment style.

Parameters:
vertAlignment - A com.esri.arcgis.display.esriTextVerticalAlignment constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHorizontalAlignment

int getHorizontalAlignment()
                           throws java.io.IOException,
                                  AutomationException
Horizontal alignment style.

Returns:
A com.esri.arcgis.display.esriTextHorizontalAlignment constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHorizontalAlignment

void setHorizontalAlignment(int horizAlignment)
                            throws java.io.IOException,
                                   AutomationException
Horizontal alignment style.

Parameters:
horizAlignment - A com.esri.arcgis.display.esriTextHorizontalAlignment constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAngle

double getAngle()
                throws java.io.IOException,
                       AutomationException
Text baseline angle.

Returns:
The angle
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAngle

void setAngle(double angle)
              throws java.io.IOException,
                     AutomationException
Text baseline angle.

Parameters:
angle - The angle (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isRightToLeft

boolean isRightToLeft()
                      throws java.io.IOException,
                             AutomationException
Indicates if the text is drawn from right to left.

Returns:
The rightToLeft
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRightToLeft

void setRightToLeft(boolean rightToLeft)
                    throws java.io.IOException,
                           AutomationException
Indicates if the text is drawn from right to left.

Parameters:
rightToLeft - The rightToLeft (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getText

java.lang.String getText()
                         throws java.io.IOException,
                                AutomationException
Text to draw.

Returns:
The text
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setText

void setText(java.lang.String text)
             throws java.io.IOException,
                    AutomationException
Text to draw.

Parameters:
text - The text (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTextSize

void getTextSize(int hDC,
                 ITransformation transformation,
                 java.lang.String text,
                 double[] xSize,
                 double[] ySize)
                 throws java.io.IOException,
                        AutomationException
Gets the x and y dimensions of 'text' in points (1/72 inch).

Parameters:
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)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.