This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > ID > IDisplay Interface > IDisplay.DrawText Method (ArcObjects .NET 10.5 SDK) |
Draws specified text on the display.
[Visual Basic .NET] Public Sub DrawText ( _ ByVal shape As IGeometry, _ ByVal Text As String _ )
[C#] public void DrawText ( IGeometry shape, string Text );
[C++]
HRESULT DrawText(
IGeometry* shape,
BSTR Text
);
[C++]
Parameters shape [in]
shape is a parameter of type IGeometry Text [in] Text is a parameter of type BSTR