ArcObjects Library Reference  (Carto)    

IFDOGraphicsContainer.AddElement Method

Add a new graphic element to the layer.

[Visual Basic 6.0]
Sub AddElement(
    ByVal Element As IElement, _
    ByVal zorder As Long, _
    newAnnotationFeature As IAnnotationFeature _
)
[Visual Basic .NET]
Public Sub AddElement ( _
    ByVal Element As IElement, _
    ByVal zorder As Integer, _
    ByRef newAnnotationFeature As IAnnotationFeature _
)
[C#]
public void AddElement (
    IElement Element,
    int zorder,
    ref IAnnotationFeature newAnnotationFeature
);
[Java]
public void addElement (
    IElement Element,
    int zorder,
    IAnnotationFeature newAnnotationFeature
)
throws
    IOException,
    AutomationException
[C++]
HRESULT AddElement(
  IElement* Element,
  long zorder,
  IAnnotationFeature** newAnnotationFeature
);
[C++]

Parameters

Element [in]

  Element is a parameter of type IElement

zorder [in]

  zorder is a parameter of type long

newAnnotationFeature [out]

  newAnnotationFeature is a parameter of type IAnnotationFeature

Product Availability

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

See Also

IFDOGraphicsContainer Interface

 


Feedback Send feedback on this page