ArcObjects Library Reference  (Carto)    

IAnnotationLayer.DoAddFeature Method

Adds a feature and its corresponding element to a graphics layer.

[Visual Basic 6.0]
Sub DoAddFeature(
    ByVal pFeature As IFeature, _
    ByVal pElement As IElement, _
    ByVal zorder As Long, _
    ByVal AnnotationClassID As Long, _
    ByVal Status As esriAnnotationStatus _
)
[Visual Basic .NET]
Public Sub DoAddFeature ( _
    ByVal pFeature As IFeature, _
    ByVal pElement As IElement, _
    ByVal zorder As Integer, _
    ByVal AnnotationClassID As Integer, _
    ByVal Status As esriAnnotationStatus _
)
[C#]
public void DoAddFeature (
    IFeature pFeature,
    IElement pElement,
    int zorder,
    int AnnotationClassID,
    esriAnnotationStatus Status
);
[Java]
public void doAddFeature (
    IFeature pFeature,
    IElement pElement,
    int zorder,
    int AnnotationClassID,
    esriAnnotationStatus Status
)
throws
    IOException,
    AutomationException
[C++]
HRESULT DoAddFeature(
  IFeature* pFeature,
  IElement* pElement,
  long zorder,
  long AnnotationClassID,
  esriAnnotationStatus Status
);
[C++]

Parameters

pFeature [in]

  pFeature is a parameter of type IFeature

pElement [in]

  pElement is a parameter of type IElement

zorder [in]

  zorder is a parameter of type long

AnnotationClassID [in]

  AnnotationClassID is a parameter of type long

Status [in]

  Status is a parameter of type esriAnnotationStatus

Product Availability

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

See Also

IAnnotationLayer Interface

 


Feedback Send feedback on this page