This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > CartoUI > ESRI.ArcGIS.CartoUI > Interfaces > IA > IAVObjectConverter Interface > IAVObjectConverter.ConvertElement Method (ArcObjects .NET 10.4 SDK) |
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 );