This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMultiPartTextElement Interface > IMultiPartTextElement.ReplacePart Method (ArcObjects .NET 10.5 SDK) |
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