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


IGraphicsContainerSelect.DominantElement Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IGraphicsContainerSelect.DominantElement Property

Dominant element.

[Visual Basic .NET]
Public Property DominantElement As IElement
[C#]
public IElement DominantElement {get; set;}
[C++]
HRESULT get_DominantElement(
  IElement** dominantItem
);
[C++]
HRESULT putref_DominantElement(
  IElement* dominantItem
);
[C++]

Parameters dominantItem [out, retval]
dominantItem is a parameter of type IElement dominantItem [in]
dominantItem is a parameter of type IElement

Product Availability

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

Remarks

The dominant element is by default the first element selected.  The alignment commands make use of the dominant element to arrange elements more precisely.

See Also

IGraphicsContainerSelect Interface