DGKC Control Documentation

Skip Navigation Links.
Skip Navigation LinksHome Page > API Reference > View > ISelection_DG Go to ActiveX docs Search Documentation

ISelection_DG Interface


ISelection_DG can be queried from IView_DG. Typical query: dgControl.GetView() > ISelection_DG

IArray_DG GetSelectedItems()

The array contains IObject_DG elements. In v6.0 all elements are actually entities, so IEntity_DG and related interfaces can be queried.

Selection can be made by the end user or by the SetSelected() method below.

void SetSelected(IObject_DG item, bool selected)

item must be quried from an entity (IEntity_DG or related interface).

void ClearSelection()