com.esri.arcgis.display
Interface ITextDrawSupport

All Superinterfaces:
Serializable
All Known Implementing Classes:
ITextDrawSupportProxy, TextMarkerSymbol, TextSymbol

public interface ITextDrawSupport
extends Serializable

Provides access to members that control how text strings are drawn.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 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.
 

Method Detail

getDrawText

void getDrawText(String origText,
                 String[] pParsedText,
                 Object[] pPositions)
                 throws IOException,
                        AutomationException
Get text the way it will be drawn. Optionally gives the positions of drawn characters in the original string of characters.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
origText - The origText (in)
pParsedText - The pParsedText (out: use single element array)
pPositions - A Variant (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDrawPoints

Object getDrawPoints(int hDC,
                     ITransformation pTransform,
                     IGeometry pGeometry)
                     throws IOException,
                            AutomationException
Gets an array of WKSPoints which represent the position at which each line of text is drawn; pGeometry must be a point.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

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