getDimension ();
The getDimension method returns the dimension whose elements are selected.
The example of use is given in description of the DimSelection.getElements method.
See also:
DimSelection