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


IAVObjectConverter.ConvertElement Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > CartoUI > ESRI.ArcGIS.CartoUI > Interfaces > IA > IAVObjectConverter Interface > IAVObjectConverter.ConvertElement Method
ArcGIS Developer Help

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