This document is archived and information here might be outdated.  Recommended version.


ITextDrawSupport.GetDrawText Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Display)  

ITextDrawSupport.GetDrawText Method

Get text the way it will be drawn. Optionally gives the positions of drawn characters in the original string of characters.

[Visual Basic .NET]
Public Sub GetDrawText ( _
    ByVal origText As String, _
    ByRef pParsedText As String, _
    ByRef pPositions As Object _
)
[C#]
public void GetDrawText (
    string origText,
    ref string pParsedText,
    ref object pPositions
);
[C++]
HRESULT GetDrawText(
  BSTR origText,
  BSTR* pParsedText,
  VARIANT* pPositions
);
[C++]

Parameters origText [in] origText is a parameter of type BSTR pParsedText [out] pParsedText is a parameter of type BSTR pPositions [out] pPositions is a parameter of type VARIANT

Product Availability

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

See Also

ITextDrawSupport Interface