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


IMultiPartTextElement.ReplacePart Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IMultiPartTextElement.ReplacePart Method

Replace a part in the multipart element at the specified index.

[Visual Basic .NET]
Public Sub ReplacePart ( _
    ByVal Index As Integer, _
    ByVal Text As String, _
    ByVal Geometry As IGeometry _
)
[C#]
public void ReplacePart (
    int Index,
    string Text,
    IGeometry Geometry
);
[C++]
HRESULT ReplacePart(
  long Index,
  BSTR Text,
  IGeometry* Geometry
);
[C++]

Parameters Index [in] Index is a parameter of type long Text [in] Text is a parameter of type BSTR Geometry [in]
Geometry is a parameter of type IGeometry

Product Availability

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

See Also

IMultiPartTextElement Interface