IOverposter2.AddLabel2 Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IOverposter2.AddLabel2 Method

Adds a label object to be placed.

[Visual Basic .NET]
Public Sub AddLabel2 ( _
    ByVal ClassIndex As Integer, _
    ByVal Label As String, _
    ByVal Width As Double, _
    ByVal Height As Double, _
    ByVal ControlShape As IGeometry, _
    ByVal FeatureId As Integer, _
    ByVal Symbol As ISymbol, _
    ByVal Angle As Double _
)
[C#]
public void AddLabel2 (
    int ClassIndex,
    string Label,
    double Width,
    double Height,
    IGeometry ControlShape,
    int FeatureId,
    ISymbol Symbol,
    double Angle
);
[C++]
HRESULT AddLabel2(
  long ClassIndex,
  BSTR Label,
  double Width,
  double Height,
  IGeometry* ControlShape,
  long FeatureId,
  ISymbol* Symbol,
  double Angle
);
[C++]

Parameters ClassIndex [in]
ClassIndex is a parameter of type long Label [in]
Label is a parameter of type BSTR Width [in]
Width is a parameter of type double Height [in]
Height is a parameter of type double ControlShape [in]
ControlShape is a parameter of type IGeometry* FeatureId [in]
FeatureId is a parameter of type long Symbol [in]
Symbol is a parameter of type ISymbol* Angle [in]
Angle is a parameter of type double

Product Availability

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

See Also

IOverposter2 Interface