![]() |
This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IO > IOverposter Interface > IOverposter.AddLabel Method (ArcObjects .NET 10.4 SDK) |
Adds a label object to be placed.
[Visual Basic .NET] Public Sub AddLabel ( _ 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 _ )
[C#] public void AddLabel ( int ClassIndex, string Label, double Width, double Height, IGeometry ControlShape, int FeatureId, ISymbol Symbol );
[C++]
HRESULT AddLabel(
long ClassIndex,
BSTR Label,
double Width,
double Height,
IGeometry* ControlShape,
long FeatureId,
ISymbol* Symbol
);
[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