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


IAVObjectConverter.ConvertElement Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (CartoUI)  

IAVObjectConverter.ConvertElement Method

Converts an AV graphic object into an element. All elements except MapSurrounds are converted when 'pass' is 0. Only MapSurrounds are converted when 'pass' is 1.

[Visual Basic .NET]
Public Function ConvertElement ( _
    ByVal graphicObject As IAVObject, _
    ByVal xOrigin As Double, _
    ByVal yOrigin As Double, _
    ByVal pass As Short, _
    ByVal gContainer As IGraphicsContainer _
) As IElement
[C#]
public IElement ConvertElement (
    IAVObject graphicObject,
    double xOrigin,
    double yOrigin,
    short pass,
    IGraphicsContainer gContainer
);

Product Availability

Available with ArcGIS Desktop.

See Also

IAVObjectConverter Interface