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


IMaplexOverposter.AddFeature Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Maplex)  

IMaplexOverposter.AddFeature Method

Adds a feature with its associated label (optional) to the overposter.

[Visual Basic .NET]
Public Sub AddFeature ( _
    ByVal ClassIndex As Integer, _
    ByVal featureShape As IGeometry, _
    ByVal featureSymbol As ISymbol, _
    ByVal FeatureID As Integer, _
    ByVal Label As String, _
    ByVal labelAngle As Double, _
    ByVal mapLevel As Integer _
)
[C#]
public void AddFeature (
    int ClassIndex,
    IGeometry featureShape,
    ISymbol featureSymbol,
    int FeatureID,
    string Label,
    double labelAngle,
    int mapLevel
);
[C++]
HRESULT AddFeature(
  long ClassIndex,
  IGeometry* featureShape,
  ISymbol* featureSymbol,
  long FeatureID,
  BSTR Label,
  double labelAngle,
  long mapLevel
);
[C++]

Parameters ClassIndex [in] ClassIndex is a parameter of type long featureShape [in]
featureShape is a parameter of type IGeometry featureSymbol [in]
featureSymbol is a parameter of type ISymbol FeatureID [in] FeatureID is a parameter of type long Label [in] Label is a parameter of type BSTR labelAngle [in] labelAngle is a parameter of type double mapLevel [in] mapLevel is a parameter of type long

Product Availability

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

See Also

IMaplexOverposter Interface